	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_cdu_init_pf
_qed_cdu_init_pf:                       ## @qed_cdu_init_pf
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NUM_TASK_PF_SEGMENTS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_5
## %bb.1:
	movq	%rdi, %r13
	movq	_ILT_CLI_CDUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,8), %rax
	addq	$16, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	_NUM_TASK_PF_SEGMENTS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_qed_cxt_tid_seg_info
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	movq	%rax, %r12
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	_ILT_PAGE_IN_BYTES
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-8(%r15), %r13
	movl	%ebx, %edi
	callq	_CDUT_SEG_BLK
	movl	(%r13,%rax,4), %eax
	subl	-16(%r15), %eax
	imull	-44(%rbp), %eax                 ## 4-byte Folded Reload
	cltd
	movq	_CDUT_SEG_ALIGNMET_IN_BYTES@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%eax, %r13d
	movq	_CDU_SEG_REG_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	xorl	%edi, %edi
	callq	_SET_FIELD
	movq	_CDU_SEG_REG_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%r13d, %edx
	callq	_SET_FIELD
	leaq	_qed_cdu_init_pf.rt_type_offset_arr(%rip), %rax
	movl	(%r14,%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_STORE_RT_REG
	movl	(%r15), %edi
	callq	_ILT_PAGE_IN_BYTES
	movl	%eax, %r12d
	movq	-8(%r15), %r13
	movq	_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_CDUT_FL_SEG_BLK
	movl	(%r13,%rax,4), %eax
	subl	-16(%r15), %eax
	imull	%r12d, %eax
	cltd
	movq	_CDUT_SEG_ALIGNMET_IN_BYTES@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%eax, %r12d
	movq	_CDU_SEG_REG_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_SET_FIELD
	movq	_CDU_SEG_REG_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%r12d, %edx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	callq	_SET_FIELD
	leaq	_qed_cdu_init_pf.rt_type_offset_fl_arr(%rip), %rax
	movl	(%r14,%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_STORE_RT_REG
	jmp	LBB0_4
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @qed_cdu_init_pf.rt_type_offset_arr
_qed_cdu_init_pf.rt_type_offset_arr:
	.long	131                             ## 0x83
	.long	130                             ## 0x82
	.long	129                             ## 0x81
	.long	128                             ## 0x80

	.p2align	4                               ## @qed_cdu_init_pf.rt_type_offset_fl_arr
_qed_cdu_init_pf.rt_type_offset_fl_arr:
	.long	135                             ## 0x87
	.long	134                             ## 0x86
	.long	133                             ## 0x85
	.long	132                             ## 0x84

	.comm	_ILT_CLI_CDUT,8,3               ## @ILT_CLI_CDUT
	.comm	_NUM_TASK_PF_SEGMENTS,4,2       ## @NUM_TASK_PF_SEGMENTS
	.comm	_CDUT_SEG_ALIGNMET_IN_BYTES,4,2 ## @CDUT_SEG_ALIGNMET_IN_BYTES
	.comm	_CDU_SEG_REG_TYPE,4,2           ## @CDU_SEG_REG_TYPE
	.comm	_CDU_SEG_REG_OFFSET,4,2         ## @CDU_SEG_REG_OFFSET
	.comm	_PF,4,2                         ## @PF
	.no_dead_strip	_qed_cdu_init_pf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_cdu_init_pf
_qed_cdu_init_pf:                       ; @qed_cdu_init_pf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _NUM_TASK_PF_SEGMENTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_TASK_PF_SEGMENTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x20, #0
Lloh3:
	adrp	x8, _ILT_CLI_CDUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ILT_CLI_CDUT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	x9, [x9]
	mov	w10, #24
	madd	x9, x8, x10, x9
	add	x10, x9, #16
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	add	x8, x9, #8
	stp	x8, x10, [sp, #16]              ; 16-byte Folded Spill
	mov	x24, x8
	mov	x23, x9
Lloh6:
	adrp	x25, _CDU_SEG_REG_TYPE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _CDU_SEG_REG_TYPE@GOTPAGEOFF]
Lloh8:
	adrp	x26, _CDU_SEG_REG_OFFSET@GOTPAGE
Lloh9:
	ldr	x26, [x26, _CDU_SEG_REG_OFFSET@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
Lloh10:
	adrp	x8, _NUM_TASK_PF_SEGMENTS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NUM_TASK_PF_SEGMENTS@GOTPAGEOFF]
Lloh12:
	ldrsw	x8, [x8]
	cmp	x20, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_qed_cxt_tid_seg_info
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	ldr	w0, [x28]
	bl	_ILT_PAGE_IN_BYTES
	mov	x22, x0
	ldr	x27, [x24]
	mov	x0, x20
	bl	_CDUT_SEG_BLK
	ldr	w8, [x27, x0, lsl #2]
	ldr	w9, [x23]
	sub	w8, w8, w9
	mul	w8, w8, w22
Lloh13:
	adrp	x9, _CDUT_SEG_ALIGNMET_IN_BYTES@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CDUT_SEG_ALIGNMET_IN_BYTES@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	sdiv	w22, w8, w9
	ldr	w1, [x25]
	ldr	w2, [x21]
	mov	w0, #0
	bl	_SET_FIELD
	ldr	w1, [x26]
	mov	w0, #0
	mov	x2, x22
	bl	_SET_FIELD
	lsl	x27, x20, #2
Lloh16:
	adrp	x8, _qed_cdu_init_pf.rt_type_offset_arr@PAGE
Lloh17:
	add	x8, x8, _qed_cdu_init_pf.rt_type_offset_arr@PAGEOFF
	ldr	w1, [x8, x27]
	mov	x0, x19
	mov	w2, #0
	bl	_STORE_RT_REG
	ldr	w0, [x28]
	bl	_ILT_PAGE_IN_BYTES
	mov	x22, x0
	ldr	x28, [x24]
Lloh18:
	adrp	x8, _PF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PF@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_CDUT_FL_SEG_BLK
	ldr	w8, [x28, x0, lsl #2]
	ldr	w9, [x23]
	sub	w8, w8, w9
	mul	w8, w8, w22
Lloh21:
	adrp	x9, _CDUT_SEG_ALIGNMET_IN_BYTES@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CDUT_SEG_ALIGNMET_IN_BYTES@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	sdiv	w22, w8, w9
	ldr	w1, [x25]
	ldr	w2, [x21]
	mov	w0, #0
	bl	_SET_FIELD
	ldr	w1, [x26]
	mov	w0, #0
	mov	x2, x22
	bl	_SET_FIELD
Lloh24:
	adrp	x8, _qed_cdu_init_pf.rt_type_offset_fl_arr@PAGE
Lloh25:
	add	x8, x8, _qed_cdu_init_pf.rt_type_offset_fl_arr@PAGEOFF
	ldr	w1, [x8, x27]
	mov	x0, x19
	mov	w2, #0
	bl	_STORE_RT_REG
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @qed_cdu_init_pf.rt_type_offset_arr
_qed_cdu_init_pf.rt_type_offset_arr:
	.long	131                             ; 0x83
	.long	130                             ; 0x82
	.long	129                             ; 0x81
	.long	128                             ; 0x80

	.p2align	2                               ; @qed_cdu_init_pf.rt_type_offset_fl_arr
_qed_cdu_init_pf.rt_type_offset_fl_arr:
	.long	135                             ; 0x87
	.long	134                             ; 0x86
	.long	133                             ; 0x85
	.long	132                             ; 0x84

	.comm	_ILT_CLI_CDUT,8,3               ; @ILT_CLI_CDUT
	.comm	_NUM_TASK_PF_SEGMENTS,4,2       ; @NUM_TASK_PF_SEGMENTS
	.comm	_CDUT_SEG_ALIGNMET_IN_BYTES,4,2 ; @CDUT_SEG_ALIGNMET_IN_BYTES
	.comm	_CDU_SEG_REG_TYPE,4,2           ; @CDU_SEG_REG_TYPE
	.comm	_CDU_SEG_REG_OFFSET,4,2         ; @CDU_SEG_REG_OFFSET
	.comm	_PF,4,2                         ; @PF
	.no_dead_strip	_qed_cdu_init_pf
.subsections_via_symbols
