	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2400ms_irq
_i2400ms_irq:                           ## @i2400ms_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_sdio_get_drvdata
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdx
	movl	$6, %edi
	movq	%rbx, %rsi
	movq	%rax, %rcx
	callq	_d_fnstart
	movq	_I2400MS_INTR_STATUS_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sdio_readb
	movl	-20(%rbp), %edx
	testl	%edx, %edx
	js	LBB0_1
## %bb.2:
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_I2400MS_INTR_CLEAR_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sdio_writeb
	movq	%r14, %rdi
	callq	_i2400ms_rx
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_5:
	leaq	L_.str.3(%rip), %rdx
	movl	$6, %edi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_d_fnend
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(i2400ms %p)\n"

	.comm	_I2400MS_INTR_STATUS_ADDR,4,2   ## @I2400MS_INTR_STATUS_ADDR
L_.str.1:                               ## @.str.1
	.asciz	"RX: Can't read interrupt status: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"RX: BUG? got IRQ but no interrupt ready?\n"

	.comm	_I2400MS_INTR_CLEAR_ADDR,4,2    ## @I2400MS_INTR_CLEAR_ADDR
L_.str.3:                               ## @.str.3
	.asciz	"(i2400ms %p) = void\n"

	.no_dead_strip	_i2400ms_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2400ms_irq
_i2400ms_irq:                           ; @i2400ms_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_sdio_get_drvdata
	mov	x20, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #6
	mov	x1, x19
	mov	x3, x20
	bl	_d_fnstart
Lloh2:
	adrp	x8, _I2400MS_INTR_STATUS_ADDR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I2400MS_INTR_STATUS_ADDR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_sdio_readb
	ldr	w8, [sp, #12]
	tbnz	w8, #31, LBB0_3
; %bb.1:
	cbz	w0, LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _I2400MS_INTR_CLEAR_ADDR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I2400MS_INTR_CLEAR_ADDR@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	mov	w1, #1
	bl	_sdio_writeb
	mov	x0, x20
	bl	_i2400ms_rx
	b	LBB0_6
LBB0_3:
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_dev_err
LBB0_6:
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w0, #6
	mov	x1, x19
	mov	x3, x20
	bl	_d_fnend
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(i2400ms %p)\n"

	.comm	_I2400MS_INTR_STATUS_ADDR,4,2   ; @I2400MS_INTR_STATUS_ADDR
l_.str.1:                               ; @.str.1
	.asciz	"RX: Can't read interrupt status: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"RX: BUG? got IRQ but no interrupt ready?\n"

	.comm	_I2400MS_INTR_CLEAR_ADDR,4,2    ; @I2400MS_INTR_CLEAR_ADDR
l_.str.3:                               ; @.str.3
	.asciz	"(i2400ms %p) = void\n"

	.no_dead_strip	_i2400ms_irq
.subsections_via_symbols
