	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_test_area_map
_mmc_test_area_map:                     ## @mmc_test_area_map
	.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	%ecx, %r10d
	movl	%edx, %ecx
	movq	%rdi, %rbx
	movq	%rsi, %rax
	shrq	$9, %rax
	movq	%rax, 8(%rdi)
	leaq	16(%rdi), %rax
	movl	32(%rdi), %edi
	movl	28(%rbx), %edx
	movl	20(%rbx), %r9d
	movl	24(%rbx), %r8d
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movl	%r8d, %ecx
	movl	%r9d, %r8d
	movq	%rax, %r9
	callq	_mmc_test_map_sg_max_scatter
	jmp	LBB0_3
LBB0_2:
	movl	$1, %ecx
	pushq	%r10
	pushq	%rax
	callq	_mmc_test_map_sg
	addq	$16, %rsp
LBB0_3:
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_mmc_hostname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_info
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Failed to map sg list\n"

	.no_dead_strip	_mmc_test_area_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_test_area_map
_mmc_test_area_map:                     ; @mmc_test_area_map
	.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	x8, x2
	mov	x19, x0
	lsr	x9, x1, #9
	str	x9, [x0, #8]
	ldr	w0, [x0, #32]
	ldp	w4, w2, [x19, #24]
	ldr	w5, [x19, #20]
	add	x6, x19, #16
	cbz	w8, LBB0_4
; %bb.1:
	mov	x3, x4
	mov	x4, x5
	mov	x5, x6
	bl	_mmc_test_map_sg_max_scatter
	mov	x20, x0
	cbz	w0, LBB0_3
LBB0_2:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_mmc_hostname
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x7, x3
	mov	w3, #1
	bl	_mmc_test_map_sg
	mov	x20, x0
	cbnz	w0, LBB0_2
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Failed to map sg list\n"

	.no_dead_strip	_mmc_test_area_map
.subsections_via_symbols
