	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simple_div
_simple_div:                            ## @simple_div
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rbx
	movq	%rdx, %rcx
	movl	$0, (%rbx)
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%edi, %eax
	cltd
	idivl	%esi
                                        ## kill: def $edx killed $edx def $rdx
	movl	%eax, (%rcx)
	testl	%edx, %edx
	je	LBB0_6
## %bb.3:
	movl	$6, %ecx
	testl	%esi, %esi
	js	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	decl	%ecx
	cmpl	%esi, %edx
	jle	LBB0_4
LBB0_5:
	movl	%edx, %eax
	cltd
	idivl	%esi
	movl	%eax, %r14d
	movl	$10, %edi
	movl	%ecx, %esi
	callq	_int_pow
	imull	%r14d, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_6
LBB0_1:
	movl	$0, (%rcx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_simple_div
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simple_div
_simple_div:                            ; @simple_div
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	wzr, [x3]
	cbz	w1, LBB0_5
; %bb.1:
	sdiv	w8, w0, w1
	str	w8, [x2]
	msub	w9, w8, w1, w0
	cbz	w9, LBB0_6
; %bb.2:
	mov	x19, x3
	mov	w8, #6
	tbnz	w1, #31, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
	sub	w8, w8, #1
	cmp	w9, w1
	b.le	LBB0_3
LBB0_4:
	sdiv	w20, w9, w1
	mov	w0, #10
	mov	x1, x8
	bl	_int_pow
	mul	w8, w0, w20
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
	str	wzr, [x2]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_simple_div
.subsections_via_symbols
