	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_signals
_get_signals:                           ## @get_signals
	.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	%rdi, %rbx
	movq	_SSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rd_reg16
	movq	_SerialSignal_DTR@GOTPCREL(%rip), %rdx
	movq	_SerialSignal_RTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	(%rdx), %ecx
	andl	(%rbx), %ecx
	movl	%ecx, (%rbx)
	movq	_BIT3@GOTPCREL(%rip), %rdx
	testw	%ax, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_SerialSignal_DSR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
LBB0_2:
	movq	_BIT2@GOTPCREL(%rip), %rdx
	testw	%ax, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	_SerialSignal_CTS@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
LBB0_4:
	movq	_BIT1@GOTPCREL(%rip), %rdx
	testw	%ax, (%rdx)
	je	LBB0_6
## %bb.5:
	movq	_SerialSignal_DCD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
LBB0_6:
	movq	_BIT0@GOTPCREL(%rip), %rdx
	testw	%ax, (%rdx)
	je	LBB0_8
## %bb.7:
	movq	_SerialSignal_RI@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSR,4,2                        ## @SSR
	.comm	_SerialSignal_DTR,4,2           ## @SerialSignal_DTR
	.comm	_SerialSignal_RTS,4,2           ## @SerialSignal_RTS
	.comm	_BIT3,2,1                       ## @BIT3
	.comm	_SerialSignal_DSR,4,2           ## @SerialSignal_DSR
	.comm	_BIT2,2,1                       ## @BIT2
	.comm	_SerialSignal_CTS,4,2           ## @SerialSignal_CTS
	.comm	_BIT1,2,1                       ## @BIT1
	.comm	_SerialSignal_DCD,4,2           ## @SerialSignal_DCD
	.comm	_BIT0,2,1                       ## @BIT0
	.comm	_SerialSignal_RI,4,2            ## @SerialSignal_RI
	.no_dead_strip	_get_signals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_signals
_get_signals:                           ; @get_signals
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _SSR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rd_reg16
Lloh3:
	adrp	x8, _SerialSignal_DTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SerialSignal_DTR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SerialSignal_RTS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SerialSignal_RTS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w10, [x19]
	add	w8, w9, w8
	and	w8, w10, w8
	str	w8, [x19]
Lloh9:
	adrp	x9, _BIT3@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BIT3@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_2
; %bb.1:
Lloh11:
	adrp	x9, _SerialSignal_DSR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SerialSignal_DSR@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
Lloh14:
	adrp	x9, _BIT2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BIT2@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_4
; %bb.3:
Lloh16:
	adrp	x9, _SerialSignal_CTS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SerialSignal_CTS@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_4:
Lloh19:
	adrp	x9, _BIT1@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BIT1@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_6
; %bb.5:
Lloh21:
	adrp	x9, _SerialSignal_DCD@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SerialSignal_DCD@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_6:
Lloh24:
	adrp	x9, _BIT0@GOTPAGE
Lloh25:
	ldr	x9, [x9, _BIT0@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_8
; %bb.7:
Lloh26:
	adrp	x9, _SerialSignal_RI@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SerialSignal_RI@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_SSR,4,2                        ; @SSR
	.comm	_SerialSignal_DTR,4,2           ; @SerialSignal_DTR
	.comm	_SerialSignal_RTS,4,2           ; @SerialSignal_RTS
	.comm	_BIT3,2,1                       ; @BIT3
	.comm	_SerialSignal_DSR,4,2           ; @SerialSignal_DSR
	.comm	_BIT2,2,1                       ; @BIT2
	.comm	_SerialSignal_CTS,4,2           ; @SerialSignal_CTS
	.comm	_BIT1,2,1                       ; @BIT1
	.comm	_SerialSignal_DCD,4,2           ; @SerialSignal_DCD
	.comm	_BIT0,2,1                       ; @BIT0
	.comm	_SerialSignal_RI,4,2            ; @SerialSignal_RI
	.no_dead_strip	_get_signals
.subsections_via_symbols
