	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdio_uart_irq
_sdio_uart_irq:                         ## @sdio_uart_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
	callq	_sdio_get_drvdata
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_current@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	_UART_IIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sdio_in
	movq	_UART_IIR_NO_INT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.2:
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	_UART_LSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sdio_in
	movl	%eax, -20(%rbp)
	movq	_UART_LSR_DR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_sdio_uart_receive_chars
LBB0_4:
	movq	%rbx, %rdi
	callq	_sdio_uart_check_modem_status
	movq	_UART_LSR_THRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -20(%rbp)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_sdio_uart_transmit_chars
LBB0_6:
	movq	$0, (%rbx)
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_UART_IIR,4,2                   ## @UART_IIR
	.comm	_UART_IIR_NO_INT,4,2            ## @UART_IIR_NO_INT
	.comm	_UART_LSR,4,2                   ## @UART_LSR
	.comm	_UART_LSR_DR,4,2                ## @UART_LSR_DR
	.comm	_UART_LSR_THRE,4,2              ## @UART_LSR_THRE
	.no_dead_strip	_sdio_uart_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdio_uart_irq
_sdio_uart_irq:                         ; @sdio_uart_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
	bl	_sdio_get_drvdata
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _current@GOTPAGE
Lloh1:
	ldr	x20, [x20, _current@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x8, _UART_IIR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UART_IIR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sdio_in
Lloh5:
	adrp	x8, _UART_IIR_NO_INT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UART_IIR_NO_INT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x20]
	str	x8, [x19]
Lloh8:
	adrp	x8, _UART_LSR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UART_LSR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sdio_in
	str	w0, [sp, #12]
Lloh11:
	adrp	x8, _UART_LSR_DR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UART_LSR_DR@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	add	x1, sp, #12
	mov	x0, x19
	bl	_sdio_uart_receive_chars
LBB0_4:
	mov	x0, x19
	bl	_sdio_uart_check_modem_status
	ldr	w8, [sp, #12]
Lloh14:
	adrp	x9, _UART_LSR_THRE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _UART_LSR_THRE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_sdio_uart_transmit_chars
LBB0_6:
	str	xzr, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_UART_IIR,4,2                   ; @UART_IIR
	.comm	_UART_IIR_NO_INT,4,2            ; @UART_IIR_NO_INT
	.comm	_UART_LSR,4,2                   ; @UART_LSR
	.comm	_UART_LSR_DR,4,2                ; @UART_LSR_DR
	.comm	_UART_LSR_THRE,4,2              ; @UART_LSR_THRE
	.no_dead_strip	_sdio_uart_irq
.subsections_via_symbols
