	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_llh_access_filter
_qed_llh_access_filter:                 ## @qed_llh_access_filter
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$0, -48(%rbp)
	movq	8(%rdi), %rdi
	callq	_QED_IS_BB
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpl	$0, (%r12)
	je	LBB0_3
LBB0_4:
	movq	_NIG_REG_LLH_FUNC_FILTER_VALUE@GOTPCREL(%rip), %rax
	leal	(,%rbx,8), %ecx
	movslq	%ecx, %rcx
	addq	(%rax), %rcx
	movq	_QED_DMAE_FLAG_PF_DST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	%r13d, -56(%rbp)
	leal	16(%r12), %edx
	leaq	-56(%rbp), %r9
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$2, %r8d
	callq	_qed_dmae_host2grc
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_PXP_PRETEND_CONCRETE_FID_PFID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r13d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_qed_fid_pretend
	movq	_NIG_REG_LLH_FUNC_FILTER_MODE@GOTPCREL(%rip), %rax
	shll	$2, %ebx
	movslq	%ebx, %r13
	movq	(%rax), %rdx
	addq	%r13, %rdx
	movl	12(%r12), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qed_wr
	movq	_NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%r13, %rdx
	movl	8(%r12), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qed_wr
	movq	_NIG_REG_LLH_FUNC_FILTER_HDR_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%r13, %rdx
	movl	4(%r12), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qed_wr
	movl	(%r12), %ecx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.6:
	movq	_NIG_REG_LLH_FUNC_FILTER_EN@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_qed_wr
LBB0_7:
	movl	(%r14), %edx
	movq	_PXP_PRETEND_CONCRETE_FID_PFID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qed_fid_pretend
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	8(%r14), %rax
	imull	(%rax), %r13d
	movq	%r14, %rdi
	callq	_MFW_PORT
	addl	%eax, %r13d
	cmpl	$0, (%r12)
	jne	LBB0_4
LBB0_3:
	movq	_PXP_PRETEND_CONCRETE_FID_PFID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r13d, %edx
	shll	%cl, %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qed_fid_pretend
	movq	_NIG_REG_LLH_FUNC_FILTER_EN@GOTPCREL(%rip), %rax
	leal	(,%rbx,4), %ecx
	movslq	%ecx, %rdx
	addq	(%rax), %rdx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qed_wr
	movl	(%r14), %edx
	movq	_PXP_PRETEND_CONCRETE_FID_PFID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qed_fid_pretend
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_PXP_PRETEND_CONCRETE_FID_PFID_SHIFT,4,2 ## @PXP_PRETEND_CONCRETE_FID_PFID_SHIFT
	.comm	_NIG_REG_LLH_FUNC_FILTER_EN,8,3 ## @NIG_REG_LLH_FUNC_FILTER_EN
	.comm	_NIG_REG_LLH_FUNC_FILTER_VALUE,8,3 ## @NIG_REG_LLH_FUNC_FILTER_VALUE
	.comm	_QED_DMAE_FLAG_PF_DST,4,2       ## @QED_DMAE_FLAG_PF_DST
	.comm	_NIG_REG_LLH_FUNC_FILTER_MODE,8,3 ## @NIG_REG_LLH_FUNC_FILTER_MODE
	.comm	_NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE,8,3 ## @NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE
	.comm	_NIG_REG_LLH_FUNC_FILTER_HDR_SEL,8,3 ## @NIG_REG_LLH_FUNC_FILTER_HDR_SEL
	.no_dead_strip	_qed_llh_access_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_llh_access_filter
_qed_llh_access_filter:                 ; @qed_llh_access_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #8]
	ldr	x0, [x0, #8]
	bl	_QED_IS_BB
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w8, [x21]
	cbz	w8, LBB0_8
LBB0_2:
Lloh0:
	adrp	x8, _NIG_REG_LLH_FUNC_FILTER_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIG_REG_LLH_FUNC_FILTER_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsl	w9, w22, #3
	add	x3, x8, w9, sxtw
Lloh3:
	adrp	x8, _QED_DMAE_FLAG_PF_DST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QED_DMAE_FLAG_PF_DST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w23, w8, [sp]
	add	w2, w21, #16
	mov	x5, sp
	mov	x0, x20
	mov	x1, x19
	mov	w4, #2
	bl	_qed_dmae_host2grc
	mov	x24, x0
	cbnz	w0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x25, _PXP_PRETEND_CONCRETE_FID_PFID_SHIFT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _PXP_PRETEND_CONCRETE_FID_PFID_SHIFT@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	w2, w23, w8
	mov	x0, x20
	mov	x1, x19
	bl	_qed_fid_pretend
Lloh8:
	adrp	x8, _NIG_REG_LLH_FUNC_FILTER_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NIG_REG_LLH_FUNC_FILTER_MODE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	lsl	w9, w22, #2
	sxtw	x22, w9
	add	x2, x8, x22
	ldr	w3, [x21, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_wr
Lloh11:
	adrp	x8, _NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	add	x2, x8, x22
	ldr	w3, [x21, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_wr
Lloh14:
	adrp	x8, _NIG_REG_LLH_FUNC_FILTER_HDR_SEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NIG_REG_LLH_FUNC_FILTER_HDR_SEL@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	add	x2, x8, x22
	ldr	w3, [x21, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_wr
	ldr	w3, [x21]
	cbz	w3, LBB0_5
; %bb.4:
Lloh17:
	adrp	x8, _NIG_REG_LLH_FUNC_FILTER_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NIG_REG_LLH_FUNC_FILTER_EN@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	add	x2, x8, x22
	mov	x0, x20
	mov	x1, x19
	bl	_qed_wr
LBB0_5:
	ldr	w8, [x20]
	ldr	w9, [x25]
	lsl	w2, w8, w9
	mov	x0, x20
	mov	x1, x19
	bl	_qed_fid_pretend
LBB0_6:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	ldr	x8, [x20, #8]
	ldr	w24, [x8]
	mov	x0, x20
	bl	_MFW_PORT
	madd	w23, w24, w23, w0
	ldr	w8, [x21]
	cbnz	w8, LBB0_2
LBB0_8:
Lloh20:
	adrp	x24, _PXP_PRETEND_CONCRETE_FID_PFID_SHIFT@GOTPAGE
Lloh21:
	ldr	x24, [x24, _PXP_PRETEND_CONCRETE_FID_PFID_SHIFT@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	w2, w23, w8
	mov	x0, x20
	mov	x1, x19
	bl	_qed_fid_pretend
Lloh22:
	adrp	x8, _NIG_REG_LLH_FUNC_FILTER_EN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NIG_REG_LLH_FUNC_FILTER_EN@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	lsl	w9, w22, #2
	add	x2, x8, w9, sxtw
	ldr	w3, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_wr
	ldr	w8, [x20]
	ldr	w9, [x24]
	lsl	w2, w8, w9
	mov	x0, x20
	mov	x1, x19
	bl	_qed_fid_pretend
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_PXP_PRETEND_CONCRETE_FID_PFID_SHIFT,4,2 ; @PXP_PRETEND_CONCRETE_FID_PFID_SHIFT
	.comm	_NIG_REG_LLH_FUNC_FILTER_EN,8,3 ; @NIG_REG_LLH_FUNC_FILTER_EN
	.comm	_NIG_REG_LLH_FUNC_FILTER_VALUE,8,3 ; @NIG_REG_LLH_FUNC_FILTER_VALUE
	.comm	_QED_DMAE_FLAG_PF_DST,4,2       ; @QED_DMAE_FLAG_PF_DST
	.comm	_NIG_REG_LLH_FUNC_FILTER_MODE,8,3 ; @NIG_REG_LLH_FUNC_FILTER_MODE
	.comm	_NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE,8,3 ; @NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE
	.comm	_NIG_REG_LLH_FUNC_FILTER_HDR_SEL,8,3 ; @NIG_REG_LLH_FUNC_FILTER_HDR_SEL
	.no_dead_strip	_qed_llh_access_filter
.subsections_via_symbols
