	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_rx_config_page_split       ## -- Begin function efx_rx_config_page_split
	.p2align	4, 0x90
_efx_rx_config_page_split:              ## @efx_rx_config_page_split
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rdi
	addq	32(%rbx), %rdi
	movq	_EFX_RX_BUF_ALIGNMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ALIGN
	movl	%eax, %r8d
	movl	%eax, (%rbx)
	movl	8(%rbx), %ecx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movl	$1, %esi
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.1:
	leaq	-4(%rdi), %rax
	movslq	%r8d, %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_2
## %bb.3:
	xorl	%edx, %edx
	divq	%rsi
	movq	%rax, %rsi
	jmp	LBB0_4
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r8d
	movl	%eax, %esi
LBB0_4:
	movl	%esi, 4(%rbx)
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movl	%edi, %eax
	cltd
	idivl	%esi
	movl	%eax, 12(%rbx)
	movq	_EFX_RX_PREFERRED_BATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DIV_ROUND_UP
	movl	%eax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_RX_BUF_ALIGNMENT,4,2       ## @EFX_RX_BUF_ALIGNMENT
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_EFX_RX_PREFERRED_BATCH,4,2     ## @EFX_RX_PREFERRED_BATCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_rx_config_page_split       ; -- Begin function efx_rx_config_page_split
	.p2align	2
_efx_rx_config_page_split:              ; @efx_rx_config_page_split
	.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
	mov	x19, x0
	ldp	x9, x8, [x0, #24]
	add	x0, x9, x8
Lloh0:
	adrp	x8, _EFX_RX_BUF_ALIGNMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFX_RX_BUF_ALIGNMENT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ALIGN
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x19]
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w1, #1
	b	LBB0_3
LBB0_2:
	sub	x10, x9, #4
	sxtw	x11, w0
	udiv	x1, x10, x11
LBB0_3:
	str	w1, [x19, #4]
	lsl	w8, w9, w8
	sdiv	w8, w8, w1
	str	w8, [x19, #12]
Lloh6:
	adrp	x8, _EFX_RX_PREFERRED_BATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFX_RX_PREFERRED_BATCH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_DIV_ROUND_UP
	str	w0, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_RX_BUF_ALIGNMENT,4,2       ; @EFX_RX_BUF_ALIGNMENT
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_EFX_RX_PREFERRED_BATCH,4,2     ; @EFX_RX_PREFERRED_BATCH
.subsections_via_symbols
