	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_omap_xfer_data
_mmc_omap_xfer_data:                    ## @mmc_omap_xfer_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	incq	%rax
	movq	%rax, 8(%rbx)
	xorl	%edi, %edi
	cmpq	16(%rbx), %rax
	sete	%dil
	callq	_BUG_ON
	movq	%rbx, %rdi
	callq	_mmc_omap_sg_to_buf
	movl	(%rbx), %eax
LBB0_2:
	cmpl	$64, %eax
	movl	$64, %edx
	cmovll	%eax, %edx
	subl	%edx, %eax
	movl	%eax, (%rbx)
	subl	%edx, 24(%rbx)
	movq	40(%rbx), %rax
	addl	%edx, (%rax)
	movq	_OMAP_MMC_REG_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	32(%rbx), %rdi
	movl	28(%rbx), %esi
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___raw_writesw                  ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___raw_readsw                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP_MMC_REG_DATA,8,3          ## @OMAP_MMC_REG_DATA
	.no_dead_strip	_mmc_omap_xfer_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_omap_xfer_data
_mmc_omap_xfer_data:                    ; @mmc_omap_xfer_data
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	ldp	x8, x9, [x20, #8]
	add	x8, x8, #1
	str	x8, [x20, #8]
	cmp	x8, x9
	cset	w0, eq
	bl	_BUG_ON
	mov	x0, x20
	bl	_mmc_omap_sg_to_buf
	ldr	w8, [x20]
LBB0_2:
	mov	w9, #64
	cmp	w8, #64
	csel	w2, w8, w9, lt
	sub	w8, w8, w2
	str	w8, [x20]
	ldp	w8, w1, [x20, #24]
	sub	w8, w8, w2
	str	w8, [x20, #24]
	ldp	x9, x8, [x20, #32]
	ldr	w10, [x8]
	add	w10, w10, w2
	str	w10, [x8]
Lloh0:
	adrp	x8, _OMAP_MMC_REG_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMAP_MMC_REG_DATA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, x9
	cbz	w19, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___raw_writesw
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___raw_readsw
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP_MMC_REG_DATA,8,3          ; @OMAP_MMC_REG_DATA
	.no_dead_strip	_mmc_omap_xfer_data
.subsections_via_symbols
