	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl18xx_get_spare_blocks
_wl18xx_get_spare_blocks:               ## @wl18xx_get_spare_blocks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_WL18XX_TX_HW_BLOCK_SPARE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_WL18XX_TX_HW_EXTRA_BLOCK_SPARE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WL18XX_TX_HW_EXTRA_BLOCK_SPARE,4,2 ## @WL18XX_TX_HW_EXTRA_BLOCK_SPARE
	.comm	_WL18XX_TX_HW_BLOCK_SPARE,4,2   ## @WL18XX_TX_HW_BLOCK_SPARE
	.no_dead_strip	_wl18xx_get_spare_blocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl18xx_get_spare_blocks
_wl18xx_get_spare_blocks:               ; @wl18xx_get_spare_blocks
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _WL18XX_TX_HW_BLOCK_SPARE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WL18XX_TX_HW_BLOCK_SPARE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _WL18XX_TX_HW_EXTRA_BLOCK_SPARE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _WL18XX_TX_HW_EXTRA_BLOCK_SPARE@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WL18XX_TX_HW_EXTRA_BLOCK_SPARE,4,2 ; @WL18XX_TX_HW_EXTRA_BLOCK_SPARE
	.comm	_WL18XX_TX_HW_BLOCK_SPARE,4,2   ; @WL18XX_TX_HW_BLOCK_SPARE
	.no_dead_strip	_wl18xx_get_spare_blocks
.subsections_via_symbols
