	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_prep_remove_pd_page      ## -- Begin function i40iw_prep_remove_pd_page
	.p2align	4, 0x90
_i40iw_prep_remove_pd_page:             ## @i40iw_prep_remove_pd_page
	.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
	shlq	$4, %rsi
	cmpq	$0, 8(%rax,%rsi)
	je	LBB0_2
## %bb.1:
	movq	_I40IW_ERR_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$0, (%rax,%rsi)
	callq	_I40IW_DEC_SD_REFCNT
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_ERR_NOT_READY,4,2        ## @I40IW_ERR_NOT_READY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_prep_remove_pd_page      ; -- Begin function i40iw_prep_remove_pd_page
	.p2align	2
_i40iw_prep_remove_pd_page:             ; @i40iw_prep_remove_pd_page
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	add	x9, x8, x1, lsl #4
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _I40IW_ERR_NOT_READY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40IW_ERR_NOT_READY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	lsl	x9, x1, #4
	str	wzr, [x8, x9]
	bl	_I40IW_DEC_SD_REFCNT
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_ERR_NOT_READY,4,2        ; @I40IW_ERR_NOT_READY
.subsections_via_symbols
