	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_mcp_get_ppfid_bitmap       ## -- Begin function qed_mcp_get_ppfid_bitmap
	.p2align	4, 0x90
_qed_mcp_get_ppfid_bitmap:              ## @qed_mcp_get_ppfid_bitmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	$0, -32(%rbp)
	movq	(%rdi), %r14
	movq	_DRV_MSG_CODE_GET_PPFID_BITMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	leaq	-48(%rbp), %rdx
	callq	_qed_mcp_cmd_and_union
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	-48(%rbp), %rax
	movq	_FW_MSG_CODE_UNSUPPORTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_INFO
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movl	-40(%rbp), %edi
	movq	_FW_MB_PARAM_PPFID_BITMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_QED_MFW_GET_FIELD
	movl	%eax, (%r14)
	movq	_QED_MSG_SP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%eax, %ecx
	callq	_DP_VERBOSE
	xorl	%eax, %eax
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRV_MSG_CODE_GET_PPFID_BITMAP,4,2 ## @DRV_MSG_CODE_GET_PPFID_BITMAP
	.comm	_FW_MSG_CODE_UNSUPPORTED,8,3    ## @FW_MSG_CODE_UNSUPPORTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The get_ppfid_bitmap command is unsupported by the MFW\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_FW_MB_PARAM_PPFID_BITMAP,4,2   ## @FW_MB_PARAM_PPFID_BITMAP
	.comm	_QED_MSG_SP,4,2                 ## @QED_MSG_SP
L_.str.1:                               ## @.str.1
	.asciz	"PPFID bitmap 0x%hhx\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_mcp_get_ppfid_bitmap       ; -- Begin function qed_mcp_get_ppfid_bitmap
	.p2align	2
_qed_mcp_get_ppfid_bitmap:              ; @qed_mcp_get_ppfid_bitmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _DRV_MSG_CODE_GET_PPFID_BITMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRV_MSG_CODE_GET_PPFID_BITMAP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	add	x2, sp, #8
	bl	_qed_mcp_cmd_and_union
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _FW_MSG_CODE_UNSUPPORTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FW_MSG_CODE_UNSUPPORTED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	ldr	w0, [sp, #16]
Lloh11:
	adrp	x8, _FW_MB_PARAM_PPFID_BITMAP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FW_MB_PARAM_PPFID_BITMAP@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_QED_MFW_GET_FIELD
	mov	x3, x0
	str	w0, [x20]
Lloh14:
	adrp	x8, _QED_MSG_SP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _QED_MSG_SP@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_VERBOSE
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DRV_MSG_CODE_GET_PPFID_BITMAP,4,2 ; @DRV_MSG_CODE_GET_PPFID_BITMAP
	.comm	_FW_MSG_CODE_UNSUPPORTED,8,3    ; @FW_MSG_CODE_UNSUPPORTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The get_ppfid_bitmap command is unsupported by the MFW\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_FW_MB_PARAM_PPFID_BITMAP,4,2   ; @FW_MB_PARAM_PPFID_BITMAP
	.comm	_QED_MSG_SP,4,2                 ; @QED_MSG_SP
l_.str.1:                               ; @.str.1
	.asciz	"PPFID bitmap 0x%hhx\n"

.subsections_via_symbols
