	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlcore_rx_get_buf_size
_wlcore_rx_get_buf_size:                ## @wlcore_rx_get_buf_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	movq	_ALIGNED_RX_BUF_SIZE_MASK@GOTPCREL(%rip), %rcx
	cmoveq	_RX_BUF_SIZE_MASK@GOTPCREL(%rip), %rcx
	movq	_ALIGNED_RX_BUF_SIZE_SHIFT@GOTPCREL(%rip), %rdx
	cmoveq	_RX_BUF_SIZE_SHIFT_DIV@GOTPCREL(%rip), %rdx
	movl	%esi, %eax
	andl	(%rcx), %eax
	movb	(%rdx), %cl
	sarl	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN,4,2 ## @WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN
	.comm	_ALIGNED_RX_BUF_SIZE_MASK,4,2   ## @ALIGNED_RX_BUF_SIZE_MASK
	.comm	_ALIGNED_RX_BUF_SIZE_SHIFT,4,2  ## @ALIGNED_RX_BUF_SIZE_SHIFT
	.comm	_RX_BUF_SIZE_MASK,4,2           ## @RX_BUF_SIZE_MASK
	.comm	_RX_BUF_SIZE_SHIFT_DIV,4,2      ## @RX_BUF_SIZE_SHIFT_DIV
	.no_dead_strip	_wlcore_rx_get_buf_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlcore_rx_get_buf_size
_wlcore_rx_get_buf_size:                ; @wlcore_rx_get_buf_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _RX_BUF_SIZE_MASK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RX_BUF_SIZE_MASK@GOTPAGEOFF]
Lloh5:
	adrp	x11, _ALIGNED_RX_BUF_SIZE_MASK@GOTPAGE
Lloh6:
	ldr	x11, [x11, _ALIGNED_RX_BUF_SIZE_MASK@GOTPAGEOFF]
	tst	w8, w9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh7:
	adrp	x9, _RX_BUF_SIZE_SHIFT_DIV@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RX_BUF_SIZE_SHIFT_DIV@GOTPAGEOFF]
Lloh9:
	adrp	x10, _ALIGNED_RX_BUF_SIZE_SHIFT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ALIGNED_RX_BUF_SIZE_SHIFT@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	asr	w0, w8, w9
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN,4,2 ; @WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN
	.comm	_ALIGNED_RX_BUF_SIZE_MASK,4,2   ; @ALIGNED_RX_BUF_SIZE_MASK
	.comm	_ALIGNED_RX_BUF_SIZE_SHIFT,4,2  ; @ALIGNED_RX_BUF_SIZE_SHIFT
	.comm	_RX_BUF_SIZE_MASK,4,2           ; @RX_BUF_SIZE_MASK
	.comm	_RX_BUF_SIZE_SHIFT_DIV,4,2      ; @RX_BUF_SIZE_SHIFT_DIV
	.no_dead_strip	_wlcore_rx_get_buf_size
.subsections_via_symbols
