	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function div_var
_div_var:                               ## @div_var
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, %r12
	movl	(%rdi), %ebx
	movl	(%rsi), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	8(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_47
LBB0_4:
	movq	24(%rdi), %rax
	cmpq	24(%r12), %rax
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	jne	LBB0_5
## %bb.6:
	movq	_NUMERIC_POS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_DIVISION_BY_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_47:
	movq	%r14, %rdi
	callq	_zero_var
	movl	%r13d, 16(%r14)
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_NUMERIC_NEG@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	32(%rdi), %esi
	subl	32(%r12), %esi
	movq	_DEC_DIGITS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	leal	(%rcx,%r13), %eax
	decl	%eax
	cltd
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	leal	(%rsi,%rax), %edi
	incl	%edi
	movl	$1, %esi
	callq	_Max
	movl	%eax, %r14d
	cmpl	$1, -60(%rbp)                   ## 4-byte Folded Reload
	sbbl	$-1, %r14d
	movq	-120(%rbp), %r13                ## 8-byte Reload
	leal	(%r14,%r13), %edi
	movl	%ebx, %esi
	callq	_Max
	movl	%eax, %r15d
	leal	(%r15,%r13), %eax
	leal	8(,%rax,4), %edi
	callq	_palloc0
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	movslq	%r15d, %r15
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	leaq	4(%rax), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	leal	(,%rbx,4), %edx
	callq	_memcpy
	leaq	(%r12,%r15,4), %rdi
	addq	$8, %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	leal	(,%r13,4), %edx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_memcpy
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_alloc_var
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, %r10
	movq	%r12, %rdi
	movq	8(%r15), %r12
	movl	8(%rdi,%rax,4), %r11d
	cmpl	$1, %r10d
	jne	LBB0_11
## %bb.8:
	testl	%r14d, %r14d
	jle	LBB0_43
## %bb.9:
	movl	%r14d, %ecx
	xorl	%ebx, %ebx
	movq	_NBASE@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	imull	(%rsi), %edx
	addl	4(%rdi,%rbx,4), %edx
	movl	%edx, %eax
	cltd
	idivl	%r11d
	movl	%eax, (%r12,%rbx,4)
	leaq	1(%rbx), %rax
	movq	%rax, %rbx
	cmpq	%rax, %rcx
	jne	LBB0_10
	jmp	LBB0_43
LBB0_11:
	leaq	(%rdi,%rax,4), %r9
	addq	$4, %r9
	movq	_HALF_NBASE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r11d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	jge	LBB0_21
## %bb.12:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_NBASE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	incl	%r11d
	movl	%ecx, %eax
	cltd
	idivl	%r11d
	movl	%eax, %r14d
	movl	$1, %edi
	testl	%r10d, %r10d
	jle	LBB0_16
## %bb.13:
	leaq	1(%r10), %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%r9,%rdi,4), %esi
	imull	%r14d, %esi
	addl	%eax, %esi
	movl	%esi, %eax
	cltd
	idivl	%ecx
	movl	%edx, -4(%r9,%rdi,4)
	movl	(%r13), %ecx
	movl	%esi, %eax
	cltd
	idivl	%ecx
	decq	%rdi
	cmpq	$1, %rdi
	ja	LBB0_14
## %bb.15:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
LBB0_16:
	movq	%r10, %r15
	callq	_Assert
	testl	%ebx, %ebx
	movl	$1, %edi
	js	LBB0_20
## %bb.17:
	movl	(%r13), %esi
	xorl	%eax, %eax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rbx,4), %ecx
	imull	%r14d, %ecx
	addl	%eax, %ecx
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%edx, (%rdi,%rbx,4)
	movl	(%r13), %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	addq	$-1, %rbx
	jb	LBB0_18
## %bb.19:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
LBB0_20:
	callq	_Assert
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	xorl	%edi, %edi
	movq	_HALF_NBASE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setge	%dil
	callq	_Assert
	movl	(%rbx), %r11d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	%r15, %r10
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_21:
	testl	%r14d, %r14d
	jle	LBB0_43
## %bb.22:
	movl	8(%r9), %r15d
	movslq	%r10d, %rax
	movl	%r14d, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	incq	%rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	xorl	%edx, %edx
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movl	%r11d, -64(%rbp)                ## 4-byte Spill
	jmp	LBB0_23
LBB0_34:                                ##   in Loop: Header=BB0_23 Depth=1
	xorl	%edi, %edi
LBB0_40:                                ##   in Loop: Header=BB0_23 Depth=1
	callq	_Assert
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movl	%ebx, %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %r10
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movl	-64(%rbp), %r11d                ## 4-byte Reload
LBB0_41:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_42:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	%r14d, (%r12,%rsi,4)
	addq	$4, %r13
	cmpq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	je	LBB0_43
LBB0_23:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_36 Depth 2
                                        ##     Child Loop BB0_39 Depth 2
	movq	%rdx, %rsi
	movl	(%rdi,%rdx,4), %eax
	movq	_NBASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%r8d, %ecx
	imull	%eax, %ecx
	incq	%rdx
	movl	$0, %r14d
	addl	4(%rdi,%rsi,4), %ecx
	je	LBB0_42
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpl	%r11d, %eax
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	leal	-1(%r8), %ebx
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	%ecx, %eax
	cltd
	idivl	%r11d
	movl	%eax, %ebx
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	leal	2(%rsi), %eax
	movl	%ebx, %edx
	notl	%edx
	imull	%r11d, %edx
	addl	%edx, %ecx
	imull	%r8d, %ecx
	addl	(%rdi,%rax,4), %ecx
	movl	%r11d, %eax
	imull	%r8d, %eax
	movl	%r15d, %esi
	imull	%ebx, %esi
	movl	%esi, %edx
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	%eax, %ecx
	decl	%ebx
	subl	%r15d, %edx
	cmpl	%ecx, %esi
	movl	%edx, %esi
	jg	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_23 Depth=1
	leal	1(%rbx), %r14d
	testl	%r14d, %r14d
	jle	LBB0_41
## %bb.30:                              ##   in Loop: Header=BB0_23 Depth=1
	testl	%r10d, %r10d
	js	LBB0_31
## %bb.35:                              ##   in Loop: Header=BB0_23 Depth=1
	xorl	%eax, %eax
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	xorl	%r12d, %r12d
	movq	_NBASE@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r9,%rdi,4), %ecx
	imull	%r14d, %ecx
	addl	%eax, %ecx
	movl	%ecx, %eax
	cltd
	idivl	%r8d
	subl	%edx, %r12d
	movl	%r12d, %ecx
	addl	(%r13,%rdi,4), %ecx
	movl	%ecx, %r12d
	sarl	$31, %r12d
	andl	%r12d, %r8d
	addl	%ecx, %r8d
	movl	%r8d, (%r13,%rdi,4)
	testq	%rdi, %rdi
	jle	LBB0_32
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=2
	decq	%rdi
	movl	(%rsi), %r8d
	jmp	LBB0_36
LBB0_31:                                ##   in Loop: Header=BB0_23 Depth=1
	xorl	%r12d, %r12d
	xorl	%eax, %eax
LBB0_32:                                ##   in Loop: Header=BB0_23 Depth=1
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	testl	%r12d, %r12d
	movq	-120(%rbp), %r10                ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movl	-64(%rbp), %r11d                ## 4-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_42
## %bb.33:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r10, %r12
	testl	%r10d, %r10d
	js	LBB0_34
## %bb.38:                              ##   in Loop: Header=BB0_23 Depth=1
	xorl	%ecx, %ecx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	xorl	%r8d, %r8d
	movq	_NBASE@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	-4(%r13,%rax,4), %ecx
	addl	-4(%r9,%rax,4), %ecx
	movl	(%rsi), %edx
	xorl	%edi, %edi
	cmpl	%edx, %ecx
	cmovll	%r8d, %edx
	setge	%dil
	subl	%edx, %ecx
	movl	%ecx, -4(%r13,%rax,4)
	movl	%edi, %ecx
	decq	%rax
	jg	LBB0_39
	jmp	LBB0_40
LBB0_43:
	callq	_pfree
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 32(%rbx)
	movslq	-92(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, 24(%rbx)
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_45
## %bb.44:
	movq	%rbx, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_round_var
	jmp	LBB0_46
LBB0_45:
	movq	%rbx, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_trunc_var
LBB0_46:
	movq	%rbx, %rdi
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strip_var                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DIVISION_BY_ZERO,4,2   ## @ERRCODE_DIVISION_BY_ZERO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"division by zero"

	.comm	_NUMERIC_POS,4,2                ## @NUMERIC_POS
	.comm	_NUMERIC_NEG,4,2                ## @NUMERIC_NEG
	.comm	_DEC_DIGITS,4,2                 ## @DEC_DIGITS
	.comm	_NBASE,4,2                      ## @NBASE
	.comm	_HALF_NBASE,4,2                 ## @HALF_NBASE
	.no_dead_strip	_div_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function div_var
_div_var:                               ; @div_var
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x20, x3
	mov	x19, x2
	mov	x26, x1
	mov	x25, x0
	ldr	w24, [x0]
	ldr	w23, [x1]
	cbz	w23, LBB0_7
; %bb.1:
	ldr	x8, [x26, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.2:
	cbz	w24, LBB0_8
LBB0_3:
	ldr	x8, [x25, #24]
	ldr	x9, [x26, #24]
Lloh0:
	adrp	x10, _NUMERIC_POS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NUMERIC_POS@GOTPAGEOFF]
Lloh2:
	adrp	x11, _NUMERIC_NEG@GOTPAGE
Lloh3:
	ldr	x11, [x11, _NUMERIC_NEG@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w22, [x8]
	ldr	w8, [x25, #32]
Lloh4:
	adrp	x9, _DEC_DIGITS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DEC_DIGITS@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	add	w10, w20, w9
	sub	w10, w10, #1
	sdiv	w9, w10, w9
	ldr	w10, [x26, #32]
	sub	w8, w8, w10
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	add	w8, w8, w9
	add	w0, w8, #1
	mov	w1, #1
	bl	_Max
	cmp	w21, #0
	cinc	w28, w0, ne
	add	w0, w28, w23
	mov	x1, x24
	bl	_Max
	mov	x27, x0
	add	w8, w0, w23
	lsl	w8, w8, #2
	add	w0, w8, #8
	bl	_palloc0
	add	w8, w27, #1
	add	x27, x0, w8, sxtw #2
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	add	x0, x0, #4
	ldr	x1, [x25, #8]
	lsl	w2, w24, #2
	bl	_memcpy
	add	x25, x27, #4
	ldr	x1, [x26, #8]
	lsl	w2, w23, #2
	mov	x0, x25
	bl	_memcpy
	mov	x0, x19
	mov	x1, x28
	bl	_alloc_var
	ldr	x26, [x19, #8]
	ldr	w15, [x27, #4]
	cmp	w23, #1
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	stp	w21, w20, [sp, #24]             ; 8-byte Folded Spill
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	b.ne	LBB0_9
; %bb.4:
	cmp	w28, #1
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	b.lt	LBB0_39
; %bb.5:
	mov	w9, #0
	add	x8, x0, #4
Lloh7:
	adrp	x10, _NBASE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _NBASE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	ldr	w12, [x8], #4
	madd	w9, w11, w9, w12
	sdiv	w11, w9, w15
	str	w11, [x26], #4
	msub	w9, w11, w15, w9
	subs	x28, x28, #1
	b.ne	LBB0_6
	b	LBB0_39
LBB0_7:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
Lloh12:
	adrp	x8, _ERRCODE_DIVISION_BY_ZERO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERRCODE_DIVISION_BY_ZERO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_errcode
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	cbnz	w24, LBB0_3
LBB0_8:
	mov	x0, x19
	bl	_zero_var
	str	w20, [x19, #16]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_9:
	str	x28, [sp, #64]                  ; 8-byte Folded Spill
Lloh17:
	adrp	x19, _HALF_NBASE@GOTPAGE
Lloh18:
	ldr	x19, [x19, _HALF_NBASE@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh19:
	adrp	x21, _NBASE@GOTPAGE
Lloh20:
	ldr	x21, [x21, _NBASE@GOTPAGEOFF]
	cmp	w15, w8
	b.ge	LBB0_20
; %bb.10:
	ldr	w8, [x21]
	add	w9, w15, #1
	sdiv	w20, w8, w9
	cmp	w23, #1
	b.lt	LBB0_17
; %bb.11:
	mov	w10, #0
	mov	x9, x23
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x9, #2
	ldr	w12, [x27, x11]
	madd	w10, w12, w20, w10
	sdiv	w12, w10, w8
	msub	w8, w12, w8, w10
	str	w8, [x27, x11]
	ldr	w8, [x21]
	sdiv	w10, w10, w8
	subs	x9, x9, #1
	b.hi	LBB0_12
; %bb.13:
	cmp	w10, #0
	cset	w0, eq
	bl	_Assert
	tbnz	w24, #31, LBB0_18
LBB0_14:
	mov	w10, #0
	ldr	w9, [x21]
	lsl	x8, x24, #2
	ldr	x12, [sp, #72]                  ; 8-byte Folded Reload
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x12, x8]
	madd	w10, w11, w20, w10
	sdiv	w11, w10, w9
	msub	w9, w11, w9, w10
	str	w9, [x12, x8]
	ldr	w9, [x21]
	sdiv	w10, w10, w9
	sub	x8, x8, #4
	cmn	x8, #4
	b.ne	LBB0_15
; %bb.16:
	cmp	w10, #0
	cset	w0, eq
	b	LBB0_19
LBB0_17:
	mov	w0, #1
	bl	_Assert
	tbz	w24, #31, LBB0_14
LBB0_18:
	mov	w0, #1
LBB0_19:
	bl	_Assert
	ldr	w8, [x25]
	ldr	w9, [x19]
	cmp	w8, w9
	cset	w0, ge
	bl	_Assert
	ldr	w15, [x25]
LBB0_20:
	str	x23, [sp, #56]                  ; 8-byte Folded Spill
	ldp	x14, x0, [sp, #64]              ; 16-byte Folded Reload
	cmp	w14, #1
	b.lt	LBB0_39
; %bb.21:
	mov	x19, #0
	ldr	w24, [x27, #8]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	sxtw	x8, w8
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	mov	x23, x0
	str	w15, [sp, #52]                  ; 4-byte Folded Spill
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	w20, #0
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	str	w20, [x26, x19, lsl #2]
	add	x23, x23, #4
	mov	x19, x25
	cmp	x25, x14
	b.eq	LBB0_39
LBB0_24:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
                                        ;     Child Loop BB0_30 Depth 2
                                        ;     Child Loop BB0_36 Depth 2
	ldr	w11, [x0, x19, lsl #2]
	ldr	w8, [x21]
	mul	w9, w8, w11
	add	x25, x19, #1
	ldr	w10, [x0, x25, lsl #2]
	adds	w12, w9, w10
	b.eq	LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	sdiv	w12, w12, w15
	sub	w13, w8, #1
	cmp	w11, w15
	csel	w28, w12, w13, ne
	add	w11, w19, #2
	ldr	w11, [x0, w11, uxtw #2]
	add	w9, w10, w9
	mvn	w10, w28
	madd	w9, w15, w10, w9
	madd	w9, w8, w9, w11
	mul	w10, w15, w8
	mul	w11, w24, w28
LBB0_26:                                ;   Parent Loop BB0_24 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w28, w28, #1
	add	w9, w9, w10
	cmp	w11, w9
	sub	w11, w11, w24
	b.gt	LBB0_26
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=1
	add	w20, w28, #1
	cmp	w20, #1
	b.lt	LBB0_23
; %bb.28:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	tbnz	w9, #31, LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	w9, #0
	mov	w22, #0
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
LBB0_30:                                ;   Parent Loop BB0_24 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x11, x10, #2
	ldr	w12, [x27, x11]
	madd	w12, w12, w20, w9
	sdiv	w9, w12, w8
	neg	w12, w12
	madd	w12, w9, w8, w12
	ldr	w13, [x23, x11]
	add	w12, w22, w12
	add	w12, w13, w12
	asr	w22, w12, #31
	and	w8, w22, w8
	add	w8, w8, w12
	str	w8, [x23, x11]
	subs	x10, x10, #1
	b.lt	LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=2
	ldr	w8, [x21]
	b	LBB0_30
LBB0_32:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	w22, #0
	mov	w9, #0
LBB0_33:                                ;   in Loop: Header=BB0_24 Depth=1
	cmp	w9, #0
	cset	w0, eq
	bl	_Assert
	ldp	x14, x0, [sp, #64]              ; 16-byte Folded Reload
	ldr	w15, [sp, #52]                  ; 4-byte Folded Reload
	cbz	w22, LBB0_23
; %bb.34:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	tbnz	w8, #31, LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	w0, #0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
LBB0_36:                                ;   Parent Loop BB0_24 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x9, x8, #2
	ldr	w10, [x23, x9]
	ldr	w11, [x27, x9]
	add	w10, w10, w0
	add	w10, w10, w11
	ldr	w11, [x21]
	cmp	w10, w11
	csel	w11, wzr, w11, lt
	cset	w0, ge
	sub	w10, w10, w11
	str	w10, [x23, x9]
	sub	x9, x8, #1
	cmp	x8, #0
	mov	x8, x9
	b.gt	LBB0_36
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	w0, #0
LBB0_38:                                ;   in Loop: Header=BB0_24 Depth=1
	bl	_Assert
	mov	x20, x28
	ldp	x14, x0, [sp, #64]              ; 16-byte Folded Reload
	ldr	w15, [sp, #52]                  ; 4-byte Folded Reload
	b	LBB0_23
LBB0_39:
	bl	_pfree
	ldr	x19, [sp, #32]                  ; 8-byte Folded Reload
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w8, [x19, #32]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	sxtw	x8, w8
	str	x8, [x19, #24]
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_41
; %bb.40:
	mov	x0, x19
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_round_var
	b	LBB0_42
LBB0_41:
	mov	x0, x19
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_trunc_var
LBB0_42:
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_strip_var
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DIVISION_BY_ZERO,4,2   ; @ERRCODE_DIVISION_BY_ZERO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"division by zero"

	.comm	_NUMERIC_POS,4,2                ; @NUMERIC_POS
	.comm	_NUMERIC_NEG,4,2                ; @NUMERIC_NEG
	.comm	_DEC_DIGITS,4,2                 ; @DEC_DIGITS
	.comm	_NBASE,4,2                      ; @NBASE
	.comm	_HALF_NBASE,4,2                 ; @HALF_NBASE
	.no_dead_strip	_div_var
.subsections_via_symbols
