	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flexrm_estimate_header_desc_count
_flexrm_estimate_header_desc_count:     ## @flexrm_estimate_header_desc_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_HEADER_BDCOUNT_MAX@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	cmpl	$1, %edx
	adcl	$0, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HEADER_BDCOUNT_MAX,4,2         ## @HEADER_BDCOUNT_MAX
	.no_dead_strip	_flexrm_estimate_header_desc_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flexrm_estimate_header_desc_count
_flexrm_estimate_header_desc_count:     ; @flexrm_estimate_header_desc_count
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HEADER_BDCOUNT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HEADER_BDCOUNT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
	cmp	w8, #0
	cinc	w0, w9, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HEADER_BDCOUNT_MAX,4,2         ; @HEADER_BDCOUNT_MAX
	.no_dead_strip	_flexrm_estimate_header_desc_count
.subsections_via_symbols
