	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdio_uart_get_mctrl
_sdio_uart_get_mctrl:                   ## @sdio_uart_get_mctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_UART_MSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sdio_in
	movq	_UART_MSR_DCD@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	$0, %esi
	testb	%al, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_TIOCM_CAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_2:
	movq	_UART_MSR_RI@GOTPCREL(%rip), %rdi
	movl	$0, %ecx
	testb	%al, (%rdi)
	je	LBB0_4
## %bb.3:
	movq	_TIOCM_RNG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	movq	_UART_MSR_DSR@GOTPCREL(%rip), %r8
	movl	$0, %edi
	testb	%al, (%r8)
	je	LBB0_6
## %bb.5:
	movq	_TIOCM_DSR@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
LBB0_6:
	orl	%esi, %ecx
	movq	_UART_MSR_CTS@GOTPCREL(%rip), %rsi
	testb	%al, (%rsi)
	je	LBB0_8
## %bb.7:
	movq	_TIOCM_CTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_8:
	orl	%edx, %edi
	orl	%edi, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UART_MSR,4,2                   ## @UART_MSR
	.comm	_UART_MSR_DCD,1,0               ## @UART_MSR_DCD
	.comm	_TIOCM_CAR,4,2                  ## @TIOCM_CAR
	.comm	_UART_MSR_RI,1,0                ## @UART_MSR_RI
	.comm	_TIOCM_RNG,4,2                  ## @TIOCM_RNG
	.comm	_UART_MSR_DSR,1,0               ## @UART_MSR_DSR
	.comm	_TIOCM_DSR,4,2                  ## @TIOCM_DSR
	.comm	_UART_MSR_CTS,1,0               ## @UART_MSR_CTS
	.comm	_TIOCM_CTS,4,2                  ## @TIOCM_CTS
	.no_dead_strip	_sdio_uart_get_mctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdio_uart_get_mctrl
_sdio_uart_get_mctrl:                   ; @sdio_uart_get_mctrl
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _UART_MSR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UART_MSR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_sdio_in
Lloh3:
	adrp	x8, _UART_MSR_DCD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UART_MSR_DCD@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh5:
	adrp	x9, _TIOCM_CAR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TIOCM_CAR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh8:
	adrp	x9, _UART_MSR_RI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _UART_MSR_RI@GOTPAGEOFF]
Lloh10:
	adrp	x10, _TIOCM_RNG@GOTPAGE
Lloh11:
	ldr	x10, [x10, _TIOCM_RNG@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh12:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
Lloh13:
	adrp	x10, _UART_MSR_DSR@GOTPAGE
Lloh14:
	ldr	x10, [x10, _UART_MSR_DSR@GOTPAGEOFF]
	orr	w8, w9, w8
	ldrb	w9, [x10]
Lloh15:
	adrp	x10, _TIOCM_DSR@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TIOCM_DSR@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _UART_MSR_CTS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _UART_MSR_CTS@GOTPAGEOFF]
Lloh20:
	adrp	x10, _TIOCM_CTS@GOTPAGE
Lloh21:
	ldr	x10, [x10, _TIOCM_CTS@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh22:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UART_MSR,4,2                   ; @UART_MSR
	.comm	_UART_MSR_DCD,1,0               ; @UART_MSR_DCD
	.comm	_TIOCM_CAR,4,2                  ; @TIOCM_CAR
	.comm	_UART_MSR_RI,1,0                ; @UART_MSR_RI
	.comm	_TIOCM_RNG,4,2                  ; @TIOCM_RNG
	.comm	_UART_MSR_DSR,1,0               ; @UART_MSR_DSR
	.comm	_TIOCM_DSR,4,2                  ; @TIOCM_DSR
	.comm	_UART_MSR_CTS,1,0               ; @UART_MSR_CTS
	.comm	_TIOCM_CTS,4,2                  ; @TIOCM_CTS
	.no_dead_strip	_sdio_uart_get_mctrl
.subsections_via_symbols
