	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_mx_mmc_get_next_cmd
_meson_mx_mmc_get_next_cmd:             ## @meson_mx_mmc_get_next_cmd
	.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	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	_MMC_SET_BLOCK_COUNT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 24(%rbx)
	je	LBB0_2
LBB0_4:
	callq	_mmc_op_multi
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	8(%rbx), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_3
## %bb.6:
	cmpq	$0, 24(%rbx)
	jne	LBB0_3
## %bb.7:
	movq	16(%rbx), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_3
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_2:
	movq	8(%rbx), %rax
	addq	$16, %rax
LBB0_3:
	movq	(%rax), %rax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_SET_BLOCK_COUNT,8,3        ## @MMC_SET_BLOCK_COUNT
	.no_dead_strip	_meson_mx_mmc_get_next_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_mx_mmc_get_next_cmd
_meson_mx_mmc_get_next_cmd:             ; @meson_mx_mmc_get_next_cmd
	.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, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _MMC_SET_BLOCK_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_SET_BLOCK_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_7
LBB0_2:
	bl	_mmc_op_multi
	cbz	x0, LBB0_9
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_8
; %bb.4:
	ldr	x9, [x19, #24]
	cbnz	x9, LBB0_8
; %bb.5:
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	cbnz	x9, LBB0_8
; %bb.6:
	mov	x0, #0
	b	LBB0_9
LBB0_7:
	ldr	x8, [x19, #8]
	add	x8, x8, #16
LBB0_8:
	ldr	x0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_SET_BLOCK_COUNT,8,3        ; @MMC_SET_BLOCK_COUNT
	.no_dead_strip	_meson_mx_mmc_get_next_cmd
.subsections_via_symbols
