	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcd_transfer
_pcd_transfer:                          ## @pcd_transfer
	.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	_pcd_count@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_4
## %bb.1:
	movq	_pcd_sector@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	_pcd_bufblk@GOTPCREL(%rip), %r15
	movq	_pcd_buf@GOTPCREL(%rip), %rbx
	movq	_pcd_buffer@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movl	%ecx, %edx
	sarl	$2, %edx
	cmpl	(%r15), %edx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	andl	$-4, %ecx
	subl	%ecx, %eax
	shll	$9, %eax
	movl	(%rbx), %edi
	movslq	%eax, %rsi
	addq	(%r13), %rsi
	movl	$512, %edx                      ## imm = 0x200
	callq	_memcpy
	addl	$512, (%rbx)                    ## imm = 0x200
	movl	(%r12), %eax
	incl	%eax
	decq	(%r14)
	movl	%eax, (%r12)
	jne	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pcd_count,8,3                  ## @pcd_count
	.comm	_pcd_sector,4,2                 ## @pcd_sector
	.comm	_pcd_bufblk,4,2                 ## @pcd_bufblk
	.comm	_pcd_buf,4,2                    ## @pcd_buf
	.comm	_pcd_buffer,8,3                 ## @pcd_buffer
	.no_dead_strip	_pcd_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcd_transfer
_pcd_transfer:                          ; @pcd_transfer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x19, _pcd_count@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pcd_count@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.1:
Lloh2:
	adrp	x20, _pcd_sector@GOTPAGE
Lloh3:
	ldr	x20, [x20, _pcd_sector@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh4:
	adrp	x21, _pcd_bufblk@GOTPAGE
Lloh5:
	ldr	x21, [x21, _pcd_bufblk@GOTPAGEOFF]
Lloh6:
	adrp	x22, _pcd_buf@GOTPAGE
Lloh7:
	ldr	x22, [x22, _pcd_buf@GOTPAGEOFF]
Lloh8:
	adrp	x23, _pcd_buffer@GOTPAGE
Lloh9:
	ldr	x23, [x23, _pcd_buffer@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w8, #3
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #2
	ldr	w10, [x21]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w8, w9, lsl #2
	lsl	w8, w8, #9
	ldr	w0, [x22]
	ldr	x9, [x23]
	add	x1, x9, w8, sxtw
	mov	w2, #512
	bl	_memcpy
	ldr	x9, [x19]
	ldr	w8, [x22]
	add	w8, w8, #512
	str	w8, [x22]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	subs	x9, x9, #1
	str	x9, [x19]
	b.ne	LBB0_2
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_pcd_count,8,3                  ; @pcd_count
	.comm	_pcd_sector,4,2                 ; @pcd_sector
	.comm	_pcd_bufblk,4,2                 ; @pcd_bufblk
	.comm	_pcd_buf,4,2                    ; @pcd_buf
	.comm	_pcd_buffer,8,3                 ; @pcd_buffer
	.no_dead_strip	_pcd_transfer
.subsections_via_symbols
