	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_signals
_set_signals:                           ## @set_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_VCR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_rd_reg8
	movl	(%r15), %edi
	movq	_SerialSignal_DTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edi, %edx
	movq	_BIT3@GOTPCREL(%rip), %rsi
	movb	(%rsi), %bl
	movl	%ebx, %ecx
	orb	%al, %cl
	notb	%bl
	andb	%al, %bl
	testl	%edx, %edx
	movzbl	%cl, %eax
	movzbl	%bl, %ecx
	cmovnel	%eax, %ecx
	movq	_SerialSignal_RTS@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_BIT2@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movl	%eax, %edx
	orb	%cl, %dl
	notb	%al
	andb	%cl, %al
	testl	%edi, %edi
	movzbl	%al, %eax
	movzbl	%dl, %ecx
	cmovel	%eax, %ecx
	movl	(%r14), %esi
	movzbl	%cl, %edx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wr_reg8                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VCR,4,2                        ## @VCR
	.comm	_SerialSignal_DTR,4,2           ## @SerialSignal_DTR
	.comm	_BIT3,1,0                       ## @BIT3
	.comm	_SerialSignal_RTS,4,2           ## @SerialSignal_RTS
	.comm	_BIT2,1,0                       ## @BIT2
	.no_dead_strip	_set_signals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_signals
_set_signals:                           ; @set_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	x20, _VCR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VCR@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_rd_reg8
Lloh2:
	adrp	x8, _SerialSignal_DTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SerialSignal_DTR@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _BIT3@GOTPAGE
Lloh6:
	ldr	x10, [x10, _BIT3@GOTPAGEOFF]
	ldrb	w10, [x10]
	orr	w11, w10, w0
	bic	w10, w0, w10
	tst	w8, w9
	csel	w8, w10, w11, eq
Lloh7:
	adrp	x10, _SerialSignal_RTS@GOTPAGE
Lloh8:
	ldr	x10, [x10, _SerialSignal_RTS@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
Lloh10:
	adrp	x11, _BIT2@GOTPAGE
Lloh11:
	ldr	x11, [x11, _BIT2@GOTPAGEOFF]
	ldrb	w11, [x11]
	orr	w12, w11, w8
	bic	w8, w8, w11
	tst	w10, w9
	csel	w8, w8, w12, eq
	ldr	w1, [x20]
	and	w2, w8, #0xff
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wr_reg8
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VCR,4,2                        ; @VCR
	.comm	_SerialSignal_DTR,4,2           ; @SerialSignal_DTR
	.comm	_BIT3,1,0                       ; @BIT3
	.comm	_SerialSignal_RTS,4,2           ; @SerialSignal_RTS
	.comm	_BIT2,1,0                       ; @BIT2
	.no_dead_strip	_set_signals
.subsections_via_symbols
