	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pf_cqp_get_hmc_fcn_callback
_pf_cqp_get_hmc_fcn_callback:           ## @pf_cqp_get_hmc_fcn_callback
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	cmpq	$0, 16(%rdx)
	movq	_I40IW_DEBUG_VIRT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	je	LBB0_2
## %bb.1:
	movslq	12(%rbx), %rcx
	movl	8(%rbx), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_i40iw_debug
	movq	8(%r14), %rax
	movq	(%r15), %rcx
	movq	$0, (%rax,%rcx,8)
	movl	20(%r15), %esi
	leaq	16(%r15), %rdx
	movq	_I40IW_ERR_CQP_COMPL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r14, %rdi
	callq	_vchnl_pf_send_error_resp
	movq	%r15, -32(%rbp)
	movl	$32, -40(%rbp)
	movl	(%r14), %edi
	leaq	-40(%rbp), %rsi
	callq	_i40iw_free_virt_mem
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%rbx), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_i40iw_debug
	movq	(%rbx), %rcx
	movq	%rcx, 8(%r15)
	decl	24(%r15)
	movl	20(%r15), %esi
	addq	$16, %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vchnl_pf_send_get_hmc_fcn_resp ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_DEBUG_VIRT,4,2           ## @I40IW_DEBUG_VIRT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CQP Completion Error on Get HMC Function.  Maj = 0x%04x, Minor = 0x%04x\n"

	.comm	_I40IW_ERR_CQP_COMPL_ERROR,8,3  ## @I40IW_ERR_CQP_COMPL_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"CQP Completion Operation Return information = 0x%08x\n"

	.no_dead_strip	_pf_cqp_get_hmc_fcn_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pf_cqp_get_hmc_fcn_callback
_pf_cqp_get_hmc_fcn_callback:           ; @pf_cqp_get_hmc_fcn_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x2, #16]
Lloh0:
	adrp	x9, _I40IW_DEBUG_VIRT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40IW_DEBUG_VIRT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	w8, w3, [x21, #8]
                                        ; kill: def $w3 killed $w3 def $x3
	sxtw	x3, w3
	str	x8, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_i40iw_debug
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	str	xzr, [x8, x9, lsl #3]
	ldr	w1, [x20, #20]
	add	x2, x20, #16
Lloh5:
	adrp	x8, _I40IW_ERR_CQP_COMPL_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40IW_ERR_CQP_COMPL_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	x3, [x8]
	mov	x0, x19
	bl	_vchnl_pf_send_error_resp
	str	x20, [sp, #24]
	mov	w8, #32
	str	w8, [sp, #16]
	ldr	w0, [x19]
	add	x1, sp, #16
	bl	_i40iw_free_virt_mem
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	ldr	x3, [x21]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_i40iw_debug
	ldr	x3, [x21]
	str	x3, [x20, #8]
	ldp	w1, w8, [x20, #20]
	sub	w8, w8, #1
	str	w8, [x20, #24]
	add	x2, x20, #16
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_vchnl_pf_send_get_hmc_fcn_resp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_DEBUG_VIRT,4,2           ; @I40IW_DEBUG_VIRT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CQP Completion Error on Get HMC Function.  Maj = 0x%04x, Minor = 0x%04x\n"

	.comm	_I40IW_ERR_CQP_COMPL_ERROR,8,3  ; @I40IW_ERR_CQP_COMPL_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"CQP Completion Operation Return information = 0x%08x\n"

	.no_dead_strip	_pf_cqp_get_hmc_fcn_callback
.subsections_via_symbols
