	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_llh_alloc
_qed_llh_alloc:                         ## @qed_llh_alloc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r15
	movq	%rax, 8(%r14)
	movq	_MAX_NUM_PPFID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	movq	_QED_MSG_SP@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_6
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	btl	%ebx, %ecx
	jae	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movl	%ebx, (%rax,%rcx,4)
	movl	(%r13), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	%ebx, %r8d
	callq	_DP_VERBOSE
	incq	8(%r15)
	movq	_MAX_NUM_PPFID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_6:
	movl	8(%r15), %edi
	shll	$3, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_kzalloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	cmpq	$0, 8(%r15)
	je	LBB0_14
## %bb.8:
	movq	_NIG_REG_LLH_FUNC_FILTER_EN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	%r14d, %edi
	callq	_kzalloc
	movq	16(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	16(%r15), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	cmpq	%rbx, 8(%r15)
	ja	LBB0_9
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MAX_NUM_PPFID,4,2              ## @MAX_NUM_PPFID
	.comm	_QED_MSG_SP,4,2                 ## @QED_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ppfid_array[%d] = %hhd\n"

	.comm	_NIG_REG_LLH_FUNC_FILTER_EN_SIZE,4,2 ## @NIG_REG_LLH_FUNC_FILTER_EN_SIZE
	.no_dead_strip	_qed_llh_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_llh_alloc
_qed_llh_alloc:                         ; @qed_llh_alloc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
	str	x0, [x20, #8]
Lloh2:
	adrp	x24, _MAX_NUM_PPFID@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MAX_NUM_PPFID@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w21, #0
Lloh4:
	adrp	x25, _QED_MSG_SP@GOTPAGE
Lloh5:
	ldr	x25, [x25, _QED_MSG_SP@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	cmp	w21, w8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20]
	lsr	w9, w9, w21
	tbz	w9, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x8, x3, [x19]
	str	w21, [x8, x3, lsl #2]
	ldr	w1, [x25]
	mov	x0, x20
	mov	x2, x22
	mov	x4, x21
	bl	_DP_VERBOSE
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	ldr	w8, [x24]
	b	LBB0_3
LBB0_6:
	ldr	w8, [x19, #8]
	lsl	w0, w8, #3
	ldr	w1, [x23]
	bl	_kzalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_12
; %bb.7:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.8:
	mov	x21, #0
Lloh8:
	adrp	x8, _NIG_REG_LLH_FUNC_FILTER_EN_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NIG_REG_LLH_FUNC_FILTER_EN_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	bl	_kzalloc
	ldr	x8, [x19, #16]
	lsl	x9, x21, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19, #8]
	cmp	x8, x21
	b.hi	LBB0_9
LBB0_11:
	mov	w0, #0
	b	LBB0_13
LBB0_12:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MAX_NUM_PPFID,4,2              ; @MAX_NUM_PPFID
	.comm	_QED_MSG_SP,4,2                 ; @QED_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ppfid_array[%d] = %hhd\n"

	.comm	_NIG_REG_LLH_FUNC_FILTER_EN_SIZE,4,2 ; @NIG_REG_LLH_FUNC_FILTER_EN_SIZE
	.no_dead_strip	_qed_llh_alloc
.subsections_via_symbols
