	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_dealloc_push_page
_i40iw_dealloc_push_page:               ## @i40iw_dealloc_push_page
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_I40IW_INVALID_PUSH_PAGE_INDEX@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%esi, %esi
	callq	_i40iw_get_cqp_request
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_OP_MANAGE_PUSH_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rax)
	movl	$1, (%rax)
	movq	(%rbx), %rcx
	movq	%rcx, 24(%rax)
	movl	8(%rbx), %ecx
	movl	%ecx, 36(%rax)
	movl	$1, 32(%rax)
	movq	%r14, 16(%rax)
	movq	%rax, 8(%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_i40iw_handle_cqp_op
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40iw_pr_err                   ## TAILCALL
LBB0_3:
	movq	(%r15), %rax
	movq	%rax, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_INVALID_PUSH_PAGE_INDEX,8,3 ## @I40IW_INVALID_PUSH_PAGE_INDEX
	.comm	_OP_MANAGE_PUSH_PAGE,4,2        ## @OP_MANAGE_PUSH_PAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CQP-OP Push page fail"

	.no_dead_strip	_i40iw_dealloc_push_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_dealloc_push_page
_i40iw_dealloc_push_page:               ; @i40iw_dealloc_push_page
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x1]
Lloh0:
	adrp	x21, _I40IW_INVALID_PUSH_PAGE_INDEX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I40IW_INVALID_PUSH_PAGE_INDEX@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w1, #0
	bl	_i40iw_get_cqp_request
	cbz	x0, LBB0_5
; %bb.2:
	mov	x1, x0
Lloh2:
	adrp	x8, _OP_MANAGE_PUSH_PAGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OP_MANAGE_PUSH_PAGE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x0, #40]
	mov	w8, #1
	str	w8, [x0]
	ldr	x9, [x19]
	str	x9, [x0, #24]
	ldr	w9, [x19, #8]
	stp	w8, w9, [x0, #32]
	stp	x0, x20, [x0, #8]
	mov	x0, x20
	bl	_i40iw_handle_cqp_op
	cbz	w0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_i40iw_pr_err
LBB0_4:
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_INVALID_PUSH_PAGE_INDEX,8,3 ; @I40IW_INVALID_PUSH_PAGE_INDEX
	.comm	_OP_MANAGE_PUSH_PAGE,4,2        ; @OP_MANAGE_PUSH_PAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CQP-OP Push page fail"

	.no_dead_strip	_i40iw_dealloc_push_page
.subsections_via_symbols
