	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tifm_sd_exec
_tifm_sd_exec:                          ## @tifm_sd_exec
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movq	%rsi, %rdi
	callq	_tifm_sd_op_flags
	xorl	%r15d, %r15d
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_TIFM_MMCSD_ODTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
LBB0_2:
	orl	%eax, %r15d
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_MMC_DATA_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_TIFM_MMCSD_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_5:
	leaq	8(%r12), %rdi
	movl	(%r14), %edx
	movl	4(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %r8d
	callq	_dev_dbg
	movzwl	6(%r14), %edi
	movq	_SOCK_MMCSD_ARG_HIGH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	callq	_writel
	movzwl	4(%r14), %edi
	movq	_SOCK_MMCSD_ARG_LOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	callq	_writel
	orl	(%r14), %r15d
	movq	_SOCK_MMCSD_COMMAND@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	movl	%r15d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TIFM_MMCSD_ODTO,4,2            ## @TIFM_MMCSD_ODTO
	.comm	_MMC_DATA_READ,4,2              ## @MMC_DATA_READ
	.comm	_TIFM_MMCSD_READ,4,2            ## @TIFM_MMCSD_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"executing opcode 0x%x, arg: 0x%x, mask: 0x%x\n"

	.comm	_SOCK_MMCSD_ARG_HIGH,8,3        ## @SOCK_MMCSD_ARG_HIGH
	.comm	_SOCK_MMCSD_ARG_LOW,8,3         ## @SOCK_MMCSD_ARG_LOW
	.comm	_SOCK_MMCSD_COMMAND,8,3         ## @SOCK_MMCSD_COMMAND
	.no_dead_strip	_tifm_sd_exec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tifm_sd_exec
_tifm_sd_exec:                          ; @tifm_sd_exec
	.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, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	mov	x0, x1
	bl	_tifm_sd_op_flags
Lloh0:
	adrp	x8, _TIFM_MMCSD_ODTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIFM_MMCSD_ODTO@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh2:
	ldr	w8, [x8]
	cmp	x9, #0
	csel	w8, wzr, w8, eq
	orr	w20, w8, w0
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MMC_DATA_READ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMC_DATA_READ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _TIFM_MMCSD_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TIFM_MMCSD_READ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_3:
	add	x0, x21, #8
	ldp	w2, w3, [x19]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x20
	bl	_dev_dbg
	ldrh	w0, [x19, #6]
	ldr	x8, [x21]
Lloh11:
	adrp	x9, _SOCK_MMCSD_ARG_HIGH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SOCK_MMCSD_ARG_HIGH@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldrh	w0, [x19, #4]
	ldr	x8, [x21]
Lloh14:
	adrp	x9, _SOCK_MMCSD_ARG_LOW@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SOCK_MMCSD_ARG_LOW@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x19]
	orr	w0, w8, w20
	ldr	x8, [x21]
Lloh17:
	adrp	x9, _SOCK_MMCSD_COMMAND@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SOCK_MMCSD_COMMAND@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, x8
	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
	b	_writel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TIFM_MMCSD_ODTO,4,2            ; @TIFM_MMCSD_ODTO
	.comm	_MMC_DATA_READ,4,2              ; @MMC_DATA_READ
	.comm	_TIFM_MMCSD_READ,4,2            ; @TIFM_MMCSD_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"executing opcode 0x%x, arg: 0x%x, mask: 0x%x\n"

	.comm	_SOCK_MMCSD_ARG_HIGH,8,3        ; @SOCK_MMCSD_ARG_HIGH
	.comm	_SOCK_MMCSD_ARG_LOW,8,3         ; @SOCK_MMCSD_ARG_LOW
	.comm	_SOCK_MMCSD_COMMAND,8,3         ; @SOCK_MMCSD_COMMAND
	.no_dead_strip	_tifm_sd_exec
.subsections_via_symbols
