	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_mci_enable_sdio_irq
_at91_mci_enable_sdio_irq:              ## @at91_mci_enable_sdio_irq
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_mmc_priv
	movq	%rax, %r15
	movl	8(%rax), %edi
	callq	_mmc_hostname
	movq	(%r15), %rcx
	cmpq	$1, (%rcx)
	movl	$66, %edx
	sbbl	$0, %edx
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rsi, %rcx
	leaq	L_.str(%rip), %rdi
	movq	_AT91_MCI_IER@GOTPCREL(%rip), %rbx
	cmoveq	_AT91_MCI_IDR@GOTPCREL(%rip), %rbx
	movl	%eax, %esi
	callq	_pr_debug
	movl	(%rbx), %esi
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_AT91_MCI_SDIOIRQA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AT91_MCI_SDIOIRQB@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_at91_mci_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: sdio_irq %c : %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"enable"

L_.str.2:                               ## @.str.2
	.asciz	"disable"

	.comm	_AT91_MCI_IER,4,2               ## @AT91_MCI_IER
	.comm	_AT91_MCI_IDR,4,2               ## @AT91_MCI_IDR
	.comm	_AT91_MCI_SDIOIRQB,4,2          ## @AT91_MCI_SDIOIRQB
	.comm	_AT91_MCI_SDIOIRQA,4,2          ## @AT91_MCI_SDIOIRQA
	.no_dead_strip	_at91_mci_enable_sdio_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_mci_enable_sdio_irq
_at91_mci_enable_sdio_irq:              ; @at91_mci_enable_sdio_irq
	.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
	bl	_mmc_priv
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_mmc_hostname
	mov	x1, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, l_.str.1@PAGE
Lloh1:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
	ldr	x8, [x8]
	cmp	x8, #0
	mov	w8, #65
	cinc	w2, w8, ne
	cmp	w19, #0
	csel	x3, x10, x9, eq
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
Lloh6:
	adrp	x8, _AT91_MCI_IER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AT91_MCI_IER@GOTPAGEOFF]
Lloh8:
	adrp	x9, _AT91_MCI_IDR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AT91_MCI_IDR@GOTPAGEOFF]
	csel	x19, x9, x8, eq
	bl	_pr_debug
	ldr	w1, [x19]
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _AT91_MCI_SDIOIRQB@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AT91_MCI_SDIOIRQB@GOTPAGEOFF]
Lloh12:
	adrp	x10, _AT91_MCI_SDIOIRQA@GOTPAGE
Lloh13:
	ldr	x10, [x10, _AT91_MCI_SDIOIRQA@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w2, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_at91_mci_write
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: sdio_irq %c : %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"enable"

l_.str.2:                               ; @.str.2
	.asciz	"disable"

	.comm	_AT91_MCI_IER,4,2               ; @AT91_MCI_IER
	.comm	_AT91_MCI_IDR,4,2               ; @AT91_MCI_IDR
	.comm	_AT91_MCI_SDIOIRQB,4,2          ; @AT91_MCI_SDIOIRQB
	.comm	_AT91_MCI_SDIOIRQA,4,2          ; @AT91_MCI_SDIOIRQA
	.no_dead_strip	_at91_mci_enable_sdio_irq
.subsections_via_symbols
