	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tiocmget
_tiocmget:                              ## @tiocmget
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_get_signals
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%rbx), %eax
	movq	_SerialSignal_RTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	movq	_TIOCM_RTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	movq	_SerialSignal_DTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	andl	%eax, %ebx
	je	LBB0_4
## %bb.3:
	movq	_TIOCM_DTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
LBB0_4:
	addl	%ecx, %ebx
	movq	_SerialSignal_DCD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_6
## %bb.5:
	movq	_TIOCM_CAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_6:
	addl	%ecx, %ebx
	movq	_SerialSignal_RI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_8
## %bb.7:
	movq	_TIOCM_RNG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:
	addl	%ecx, %ebx
	movq	_SerialSignal_DSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_10
## %bb.9:
	movq	_TIOCM_DSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_10:
	addl	%ecx, %ebx
	movq	_SerialSignal_CTS@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_12
## %bb.11:
	movq	_TIOCM_CTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_12:
	addl	%eax, %ebx
	movq	%rbx, %rdi
	callq	_DBGINFO
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SerialSignal_RTS,4,2           ## @SerialSignal_RTS
	.comm	_TIOCM_RTS,4,2                  ## @TIOCM_RTS
	.comm	_SerialSignal_DTR,4,2           ## @SerialSignal_DTR
	.comm	_TIOCM_DTR,4,2                  ## @TIOCM_DTR
	.comm	_SerialSignal_DCD,4,2           ## @SerialSignal_DCD
	.comm	_TIOCM_CAR,4,2                  ## @TIOCM_CAR
	.comm	_SerialSignal_RI,4,2            ## @SerialSignal_RI
	.comm	_TIOCM_RNG,4,2                  ## @TIOCM_RNG
	.comm	_SerialSignal_DSR,4,2           ## @SerialSignal_DSR
	.comm	_TIOCM_DSR,4,2                  ## @TIOCM_DSR
	.comm	_SerialSignal_CTS,4,2           ## @SerialSignal_CTS
	.comm	_TIOCM_CTS,4,2                  ## @TIOCM_CTS
	.no_dead_strip	_tiocmget
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tiocmget
_tiocmget:                              ; @tiocmget
	.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
	ldr	x19, [x0]
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_get_signals
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _SerialSignal_RTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SerialSignal_RTS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _TIOCM_RTS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TIOCM_RTS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, wzr, w10, eq
Lloh6:
	adrp	x10, _SerialSignal_DTR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SerialSignal_DTR@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _TIOCM_DTR@GOTPAGE
Lloh10:
	ldr	x11, [x11, _TIOCM_DTR@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	tst	w10, w8
Lloh12:
	adrp	x10, _SerialSignal_DCD@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SerialSignal_DCD@GOTPAGEOFF]
	csel	w11, wzr, w11, eq
Lloh14:
	ldr	w10, [x10]
	tst	w10, w8
Lloh15:
	adrp	x10, _TIOCM_CAR@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TIOCM_CAR@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	csel	w10, wzr, w10, eq
	add	w9, w11, w9
	add	w9, w9, w10
Lloh18:
	adrp	x10, _SerialSignal_RI@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SerialSignal_RI@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _TIOCM_RNG@GOTPAGE
Lloh22:
	ldr	x11, [x11, _TIOCM_RNG@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	tst	w10, w8
Lloh24:
	adrp	x10, _SerialSignal_DSR@GOTPAGE
Lloh25:
	ldr	x10, [x10, _SerialSignal_DSR@GOTPAGEOFF]
	csel	w11, wzr, w11, eq
Lloh26:
	ldr	w10, [x10]
	tst	w10, w8
Lloh27:
	adrp	x10, _TIOCM_DSR@GOTPAGE
Lloh28:
	ldr	x10, [x10, _TIOCM_DSR@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	csel	w10, wzr, w10, eq
	add	w9, w9, w11
	add	w9, w9, w10
Lloh30:
	adrp	x10, _SerialSignal_CTS@GOTPAGE
Lloh31:
	ldr	x10, [x10, _SerialSignal_CTS@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
Lloh33:
	adrp	x11, _TIOCM_CTS@GOTPAGE
Lloh34:
	ldr	x11, [x11, _TIOCM_CTS@GOTPAGEOFF]
Lloh35:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	add	w19, w9, w8
	mov	x0, x19
	bl	_DBGINFO
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SerialSignal_RTS,4,2           ; @SerialSignal_RTS
	.comm	_TIOCM_RTS,4,2                  ; @TIOCM_RTS
	.comm	_SerialSignal_DTR,4,2           ; @SerialSignal_DTR
	.comm	_TIOCM_DTR,4,2                  ; @TIOCM_DTR
	.comm	_SerialSignal_DCD,4,2           ; @SerialSignal_DCD
	.comm	_TIOCM_CAR,4,2                  ; @TIOCM_CAR
	.comm	_SerialSignal_RI,4,2            ; @SerialSignal_RI
	.comm	_TIOCM_RNG,4,2                  ; @TIOCM_RNG
	.comm	_SerialSignal_DSR,4,2           ; @SerialSignal_DSR
	.comm	_TIOCM_DSR,4,2                  ; @TIOCM_DSR
	.comm	_SerialSignal_CTS,4,2           ; @SerialSignal_CTS
	.comm	_TIOCM_CTS,4,2                  ; @TIOCM_CTS
	.no_dead_strip	_tiocmget
.subsections_via_symbols
