	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sx_tiocmset
_sx_tiocmset:                           ## @sx_tiocmset
	.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	_TIOCM_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %eax
	andl	%edx, %eax
	xorl	%r8d, %r8d
	cmpl	$1, %eax
	movl	$0, %eax
	sbbl	%eax, %eax
	orl	$1, %eax
	movq	_TIOCM_DTR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	andl	%r9d, %edx
	cmpl	$1, %edx
	movl	$0, %esi
	sbbl	%esi, %esi
	orl	$1, %esi
	testl	%ecx, %ebx
	cmovnel	%r8d, %eax
	movq	(%rdi), %rbx
	testl	%ecx, %r9d
	cmovnel	%r8d, %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_sx_setsignals
	movq	%rbx, %rdi
	callq	_sx_reconfigure_port
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIOCM_RTS,4,2                  ## @TIOCM_RTS
	.comm	_TIOCM_DTR,4,2                  ## @TIOCM_DTR
	.no_dead_strip	_sx_tiocmset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sx_tiocmset
_sx_tiocmset:                           ; @sx_tiocmset
	.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]
Lloh0:
	adrp	x8, _TIOCM_RTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIOCM_RTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	mov	w9, #-1
	cneg	w10, w9, ne
Lloh3:
	adrp	x11, _TIOCM_DTR@GOTPAGE
Lloh4:
	ldr	x11, [x11, _TIOCM_DTR@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	tst	w11, w2
	cneg	w9, w9, ne
	tst	w8, w3
	csel	w2, w10, wzr, eq
	tst	w11, w3
	csel	w1, w9, wzr, eq
	mov	x0, x19
	bl	_sx_setsignals
	mov	x0, x19
	bl	_sx_reconfigure_port
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TIOCM_RTS,4,2                  ; @TIOCM_RTS
	.comm	_TIOCM_DTR,4,2                  ; @TIOCM_DTR
	.no_dead_strip	_sx_tiocmset
.subsections_via_symbols
