	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function doundiv
_doundiv:                               ## @doundiv
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$2, %esi
	jle	LBB0_1
## %bb.6:
	movq	%rdi, %r12
	movl	%esi, %r15d
	movl	$2, %ebx
	movq	_INT_MAX@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_15
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	movl	(%r13), %edx
	movl	$1, %esi
	movq	%r14, %rcx
	callq	_strtonum
	cmpq	$0, -48(%rbp)
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_mimic_gnu@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12,%rbx,8), %rdi
	callq	_getdivfile
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_maxout@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_outfile@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%eax, %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %edi
	callq	_getdiv
	jmp	LBB0_14
LBB0_1:
	movq	_maxout@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	$2, %eax
	jl	LBB0_15
## %bb.2:
	movl	$1, %ebx
	movq	_outfile@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_getdiv
	movl	(%r14), %eax
	jmp	LBB0_5
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_errno,8,3                      ## @errno
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_mimic_gnu,8,3                  ## @mimic_gnu
	.comm	_maxout,4,2                     ## @maxout
	.comm	_outfile,8,3                    ## @outfile
	.no_dead_strip	_doundiv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function doundiv
_doundiv:                               ; @doundiv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cmp	w1, #2
	b.le	LBB0_9
; %bb.1:
	mov	w8, w1
	add	x19, x0, #16
	sub	x20, x8, #2
Lloh0:
	adrp	x21, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _INT_MAX@GOTPAGEOFF]
Lloh2:
	adrp	x22, _maxout@GOTPAGE
Lloh3:
	ldr	x22, [x22, _maxout@GOTPAGEOFF]
Lloh4:
	adrp	x23, _outfile@GOTPAGE
Lloh5:
	ldr	x23, [x23, _outfile@GOTPAGEOFF]
Lloh6:
	adrp	x24, _errno@GOTPAGE
Lloh7:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
Lloh8:
	adrp	x25, _EINVAL@GOTPAGE
Lloh9:
	ldr	x25, [x25, _EINVAL@GOTPAGEOFF]
Lloh10:
	adrp	x26, _mimic_gnu@GOTPAGE
Lloh11:
	ldr	x26, [x26, _mimic_gnu@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #8
	subs	x20, x20, #1
	b.eq	LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	ldr	w2, [x21]
	add	x3, sp, #8
	mov	w1, #1
	bl	_strtonum
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x25]
	ldr	x10, [x26]
	cmp	x8, x9
	ccmp	x10, #0, #4, eq
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19]
	bl	_getdivfile
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	cmp	w0, w8
	b.ge	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, w0, sxtw #3]
	cbz	x8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_getdiv
	b	LBB0_2
LBB0_9:
Lloh12:
	adrp	x20, _maxout@GOTPAGE
Lloh13:
	ldr	x20, [x20, _maxout@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.10:
	mov	w19, #1
Lloh14:
	adrp	x21, _outfile@GOTPAGE
Lloh15:
	ldr	x21, [x21, _outfile@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x19, x19, #1
	cmp	x19, w8, sxtw
	b.ge	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	x9, [x9, x19, lsl #3]
	cbz	x9, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_getdiv
	ldr	w8, [x20]
	b	LBB0_11
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_errno,8,3                      ; @errno
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_mimic_gnu,8,3                  ; @mimic_gnu
	.comm	_maxout,4,2                     ; @maxout
	.comm	_outfile,8,3                    ; @outfile
	.no_dead_strip	_doundiv
.subsections_via_symbols
