	.file	"611930.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	sccsid, @object
	.size	sccsid, 37
sccsid:
	.string	"@(#)pow_hh.c\t5.3 (Berkeley) 04/12/91"
	.text
	.globl	pow_hh
	.type	pow_hh, @function
pow_hh:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	WORD PTR -6[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -4[rbp], ax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	cmp	WORD PTR -2[rbp], 0
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	cmp	WORD PTR -4[rbp], 0
	jne	.L4
	cmp	WORD PTR -2[rbp], 0
	jle	.L5
	mov	eax, 0
	jmp	.L3
.L5:
	movsx	ecx, WORD PTR -4[rbp]
	mov	eax, 1
	cdq
	idiv	ecx
	jmp	.L3
.L4:
	cmp	WORD PTR -4[rbp], 1
	jne	.L6
	mov	eax, 1
	jmp	.L3
.L6:
	cmp	WORD PTR -4[rbp], -1
	jne	.L7
	cmp	WORD PTR -2[rbp], 0
	jns	.L8
	cmp	WORD PTR -2[rbp], -2
	jge	.L9
	movzx	eax, WORD PTR -2[rbp]
	add	eax, 2
	mov	WORD PTR -2[rbp], ax
.L9:
	movzx	eax, WORD PTR -2[rbp]
	neg	eax
	mov	WORD PTR -2[rbp], ax
.L8:
	movzx	eax, WORD PTR -2[rbp]
	and	eax, 1
	test	ax, ax
	jne	.L10
	mov	eax, 1
	jmp	.L3
.L10:
	mov	eax, -1
	jmp	.L3
.L7:
	cmp	WORD PTR -2[rbp], 0
	jle	.L11
.L16:
	movsx	eax, WORD PTR -2[rbp]
	and	eax, 1
	test	eax, eax
	je	.L12
	movzx	edx, WORD PTR -6[rbp]
	movzx	eax, WORD PTR -4[rbp]
	imul	eax, edx
	mov	WORD PTR -6[rbp], ax
.L12:
	sar	WORD PTR -2[rbp]
	cmp	WORD PTR -2[rbp], 0
	je	.L18
	movzx	edx, WORD PTR -4[rbp]
	movzx	eax, WORD PTR -4[rbp]
	imul	eax, edx
	mov	WORD PTR -4[rbp], ax
	jmp	.L16
.L11:
	mov	WORD PTR -6[rbp], 0
	jmp	.L17
.L18:
	nop
.L17:
	movzx	eax, WORD PTR -6[rbp]
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	pow_hh, .-pow_hh
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"611930.c"
	.text
	.data
	.align	2
	.type	sccsid, %object
	.size	sccsid, 37
sccsid:
	.ascii	"@(#)pow_hh.c\0115.3 (Berkeley) 04/12/91\000"
	.global	__aeabi_idiv
	.text
	.align	2
	.global	pow_hh
	.syntax unified
	.arm
	.fpu softvfp
	.type	pow_hh, %function
pow_hh:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	strh	r3, [fp, #-10]	@ movhi
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-8]	@ movhi
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	ldrsh	r3, [fp, #-6]
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L3
.L2:
	ldrsh	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	ldrsh	r3, [fp, #-6]
	cmp	r3, #0
	ble	.L5
	mov	r3, #0
	b	.L3
.L5:
	ldrsh	r3, [fp, #-8]
	mov	r1, r3
	mov	r0, #1
	bl	__aeabi_idiv
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L3
.L4:
	ldrsh	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L6
	mov	r3, #1
	b	.L3
.L6:
	ldrsh	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L7
	ldrsh	r3, [fp, #-6]
	cmp	r3, #0
	bge	.L8
	ldrsh	r3, [fp, #-6]
	cmn	r3, #2
	bge	.L9
	ldrh	r3, [fp, #-6]
	add	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-6]	@ movhi
.L9:
	ldrh	r3, [fp, #-6]
	rsb	r3, r3, #0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-6]	@ movhi
.L8:
	ldrh	r3, [fp, #-6]
	and	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #0
	bne	.L10
	mov	r3, #1
	b	.L3
.L10:
	mvn	r3, #0
	b	.L3
.L7:
	ldrsh	r3, [fp, #-6]
	cmp	r3, #0
	ble	.L11
.L16:
	ldrh	r3, [fp, #-6]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L12
	ldrh	r3, [fp, #-10]
	ldrh	r2, [fp, #-8]
	mul	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
.L12:
	ldrsh	r3, [fp, #-6]
	asr	r3, r3, #1
	strh	r3, [fp, #-6]	@ movhi
	ldrsh	r3, [fp, #-6]
	cmp	r3, #0
	beq	.L18
	ldrh	r3, [fp, #-8]
	ldrh	r2, [fp, #-8]
	mul	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-8]	@ movhi
	b	.L16
.L11:
	mov	r3, #0
	strh	r3, [fp, #-10]	@ movhi
	b	.L17
.L18:
	nop
.L17:
	ldrsh	r3, [fp, #-10]
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pow_hh, .-pow_hh
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
