	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_mci_update_bytes_xfered
_at91_mci_update_bytes_xfered:          ## @at91_mci_update_bytes_xfered
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%rcx)
	jne	LBB0_5
LBB0_2:
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:
	movq	_MMC_DATA_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movl	4(%rbx), %esi
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movl	12(%rbx), %eax
	imull	8(%rbx), %eax
	movl	%eax, 4(%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_DATA_WRITE,4,2             ## @MMC_DATA_WRITE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-> bytes_xfered %d, total_length = %d\n"

	.no_dead_strip	_at91_mci_update_bytes_xfered
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_mci_update_bytes_xfered
_at91_mci_update_bytes_xfered:          ; @at91_mci_update_bytes_xfered
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	x9, [x9]
	cbnz	x9, LBB0_5
LBB0_2:
	ldr	x19, [x8]
	cbz	x19, LBB0_5
; %bb.3:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MMC_DATA_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_DATA_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x19, #4]
	ldr	w2, [x0]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldp	w8, w9, [x19, #8]
	mul	w8, w9, w8
	str	w8, [x19, #4]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_DATA_WRITE,4,2             ; @MMC_DATA_WRITE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-> bytes_xfered %d, total_length = %d\n"

	.no_dead_strip	_at91_mci_update_bytes_xfered
.subsections_via_symbols
