	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modem_status
_modem_status:                          ## @modem_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_MCR_LOOPBACK@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_9
## %bb.1:
	movq	_MCR_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	je	LBB0_3
## %bb.2:
	movq	_MSR_CTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movq	_MCR_DTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%edi, %ebx
	je	LBB0_5
## %bb.4:
	movq	_MSR_DSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_5:
	orl	%eax, %ebx
	movq	_MCR_OUT1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	je	LBB0_7
## %bb.6:
	movq	_MSR_RI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	orl	%eax, %ebx
	movq	_MCR_OUT2@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_11
## %bb.8:
	movq	_MSR_DCD@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_MSR_DCD@GOTPCREL(%rip), %rax
	movq	_MSR_DSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_10:
	orl	(%rax), %ebx
LBB0_11:
	movq	_MSR_DELTA_MASK@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%ebx, %eax
	sete	%dil
	callq	_assert
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCR_LOOPBACK,4,2               ## @MCR_LOOPBACK
	.comm	_MCR_RTS,4,2                    ## @MCR_RTS
	.comm	_MSR_CTS,4,2                    ## @MSR_CTS
	.comm	_MCR_DTR,4,2                    ## @MCR_DTR
	.comm	_MSR_DSR,4,2                    ## @MSR_DSR
	.comm	_MCR_OUT1,4,2                   ## @MCR_OUT1
	.comm	_MSR_RI,4,2                     ## @MSR_RI
	.comm	_MCR_OUT2,4,2                   ## @MCR_OUT2
	.comm	_MSR_DCD,4,2                    ## @MSR_DCD
	.comm	_MSR_DELTA_MASK,4,2             ## @MSR_DELTA_MASK
	.no_dead_strip	_modem_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modem_status
_modem_status:                          ; @modem_status
	.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
Lloh0:
	adrp	x8, _MCR_LOOPBACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCR_LOOPBACK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _MCR_RTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCR_RTS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MSR_CTS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MSR_CTS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh9:
	adrp	x9, _MCR_DTR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MCR_DTR@GOTPAGEOFF]
Lloh11:
	adrp	x10, _MSR_DSR@GOTPAGE
Lloh12:
	ldr	x10, [x10, _MSR_DSR@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
Lloh15:
	adrp	x10, _MCR_OUT1@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MCR_OUT1@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh17:
	ldr	w9, [x10]
Lloh18:
	adrp	x10, _MSR_RI@GOTPAGE
Lloh19:
	ldr	x10, [x10, _MSR_RI@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w19, w8, w9
Lloh21:
	adrp	x8, _MCR_OUT2@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MCR_OUT2@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
Lloh24:
	adrp	x8, _MSR_DCD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MSR_DCD@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w19, w8, w19
	b	LBB0_4
LBB0_3:
Lloh27:
	adrp	x8, _MSR_DCD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MSR_DCD@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _MSR_DSR@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MSR_DSR@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w19, w9, w8
LBB0_4:
Lloh33:
	adrp	x8, _MSR_DELTA_MASK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSR_DELTA_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_MCR_LOOPBACK,4,2               ; @MCR_LOOPBACK
	.comm	_MCR_RTS,4,2                    ; @MCR_RTS
	.comm	_MSR_CTS,4,2                    ; @MSR_CTS
	.comm	_MCR_DTR,4,2                    ; @MCR_DTR
	.comm	_MSR_DSR,4,2                    ; @MSR_DSR
	.comm	_MCR_OUT1,4,2                   ; @MCR_OUT1
	.comm	_MSR_RI,4,2                     ; @MSR_RI
	.comm	_MCR_OUT2,4,2                   ; @MCR_OUT2
	.comm	_MSR_DCD,4,2                    ; @MSR_DCD
	.comm	_MSR_DELTA_MASK,4,2             ; @MSR_DELTA_MASK
	.no_dead_strip	_modem_status
.subsections_via_symbols
