	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc5121_nfc_addr_cycle
_mpc5121_nfc_addr_cycle:                ## @mpc5121_nfc_addr_cycle
	.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	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_mtd_to_nand
	movl	(%rax), %r12d
	cmpl	$-1, %r15d
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_mpc5121_nfc_send_addr
	cmpl	$513, (%r14)                    ## imm = 0x201
	jl	LBB0_3
## %bb.2:
	sarl	$8, %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_mpc5121_nfc_send_addr
LBB0_3:
	cmpl	$-1, %r13d
	je	LBB0_6
## %bb.4:
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%r13b, %esi
	movq	%r14, %rdi
	callq	_mpc5121_nfc_send_addr
	sarl	$8, %r13d
	sarl	$8, %ebx
	cmpl	$255, %r12d
	movl	%ebx, %r12d
	ja	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mpc5121_nfc_addr_cycle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc5121_nfc_addr_cycle
_mpc5121_nfc_addr_cycle:                ; @mpc5121_nfc_addr_cycle
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_mtd_to_nand
	ldr	w22, [x0]
	cmn	w21, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	bl	_mpc5121_nfc_send_addr
	ldr	w8, [x20]
	cmp	w8, #513
	b.lt	LBB0_3
; %bb.2:
	asr	w1, w21, #8
	mov	x0, x20
	bl	_mpc5121_nfc_send_addr
LBB0_3:
	cmn	w19, #1
	b.eq	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	w1, w19, #0xff
	mov	x0, x20
	bl	_mpc5121_nfc_send_addr
	asr	w19, w19, #8
	asr	w8, w22, #8
	cmp	w22, #255
	mov	x22, x8
	b.hi	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mpc5121_nfc_addr_cycle
.subsections_via_symbols
