	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getdebt
_getdebt:                               ## @getdebt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	4(%rdi), %ecx
	movq	_STEPMULADJ@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movl	%eax, %esi
	incl	%esi
	movq	_MAX_LMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %eax
	cltd
	idivl	%ecx
	imull	%esi, %ecx
	cmpl	%eax, %esi
	cmovgel	%edi, %ecx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STEPMULADJ,4,2                 ## @STEPMULADJ
	.comm	_MAX_LMEM,4,2                   ## @MAX_LMEM
	.no_dead_strip	_getdebt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getdebt
_getdebt:                               ; @getdebt
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w9, [x0, #4]
Lloh0:
	adrp	x10, _STEPMULADJ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _STEPMULADJ@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	sdiv	w8, w8, w10
Lloh3:
	adrp	x10, _MAX_LMEM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MAX_LMEM@GOTPAGEOFF]
	add	w8, w8, #1
Lloh5:
	ldr	w10, [x10]
	sdiv	w11, w10, w9
	mul	w9, w8, w9
	cmp	w8, w11
	csel	w0, w9, w10, lt
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STEPMULADJ,4,2                 ; @STEPMULADJ
	.comm	_MAX_LMEM,4,2                   ; @MAX_LMEM
	.no_dead_strip	_getdebt
.subsections_via_symbols
