	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdc20621_host_sg
_pdc20621_host_sg:                      ## @pdc20621_host_sg
	.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
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	_PDC_DIMM_HPKT_PRD@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	sarl	$2, %r13d
	movq	_PDC_20621_DIMM_BASE@GOTPCREL(%rip), %r12
	movq	_PDC_20621_DIMM_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%r12), %eax
	movq	_PDC_DIMM_DATA_STEP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	imull	%edx, %edi
	addl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r14,%r13,4)
	movq	_ATA_PRD_EOT@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%r13d, %ecx
	incl	%ecx
	movl	%eax, (%r14,%rcx,4)
	movq	_PDC_DIMM_WINDOW_STEP@GOTPCREL(%rip), %rcx
	imull	(%rcx), %ebx
	addl	(%r12), %ebx
	movq	_PDC_DIMM_HPKT_PRD@GOTPCREL(%rip), %rcx
	addl	(%rcx), %ebx
	movl	(%r14,%r13,4), %edx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VPRINTK                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PDC_DIMM_HPKT_PRD,4,2          ## @PDC_DIMM_HPKT_PRD
	.comm	_PDC_20621_DIMM_BASE,4,2        ## @PDC_20621_DIMM_BASE
	.comm	_PDC_20621_DIMM_DATA,4,2        ## @PDC_20621_DIMM_DATA
	.comm	_PDC_DIMM_DATA_STEP,4,2         ## @PDC_DIMM_DATA_STEP
	.comm	_ATA_PRD_EOT,4,2                ## @ATA_PRD_EOT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HOST PSG @ %x == (0x%x, 0x%x)\n"

	.comm	_PDC_DIMM_WINDOW_STEP,4,2       ## @PDC_DIMM_WINDOW_STEP
	.no_dead_strip	_pdc20621_host_sg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdc20621_host_sg
_pdc20621_host_sg:                      ; @pdc20621_host_sg
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x22, _PDC_DIMM_HPKT_PRD@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PDC_DIMM_HPKT_PRD@GOTPAGEOFF]
	ldr	w8, [x22]
	asr	w23, w8, #2
Lloh2:
	adrp	x24, _PDC_20621_DIMM_BASE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PDC_20621_DIMM_BASE@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh4:
	adrp	x9, _PDC_20621_DIMM_DATA@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PDC_20621_DIMM_DATA@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	add	w8, w9, w8
Lloh7:
	adrp	x9, _PDC_DIMM_DATA_STEP@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PDC_DIMM_DATA_STEP@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	madd	w0, w9, w2, w8
	bl	_cpu_to_le32
	lsl	x25, x23, #2
	str	w0, [x21, x25]
Lloh10:
	adrp	x8, _ATA_PRD_EOT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ATA_PRD_EOT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w0, w8, w19
	bl	_cpu_to_le32
	mov	x3, x0
	add	w8, w23, #1
	str	w0, [x21, w8, uxtw #2]
	ldr	w8, [x24]
Lloh13:
	adrp	x9, _PDC_DIMM_WINDOW_STEP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PDC_DIMM_WINDOW_STEP@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	madd	w8, w9, w20, w8
	ldr	w9, [x22]
	add	w1, w8, w9
	ldr	w2, [x21, x25]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_VPRINTK
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PDC_DIMM_HPKT_PRD,4,2          ; @PDC_DIMM_HPKT_PRD
	.comm	_PDC_20621_DIMM_BASE,4,2        ; @PDC_20621_DIMM_BASE
	.comm	_PDC_20621_DIMM_DATA,4,2        ; @PDC_20621_DIMM_DATA
	.comm	_PDC_DIMM_DATA_STEP,4,2         ; @PDC_DIMM_DATA_STEP
	.comm	_ATA_PRD_EOT,4,2                ; @ATA_PRD_EOT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HOST PSG @ %x == (0x%x, 0x%x)\n"

	.comm	_PDC_DIMM_WINDOW_STEP,4,2       ; @PDC_DIMM_WINDOW_STEP
	.no_dead_strip	_pdc20621_host_sg
.subsections_via_symbols
