	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tiocmset
_tiocmset:                              ## @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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	(%rdi), %rbx
	movl	%ecx, %edi
	callq	_DBGINFO
	movq	_TIOCM_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r15d, %eax
	je	LBB0_2
## %bb.1:
	movq	_SerialSignal_RTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rbx)
LBB0_2:
	movq	_TIOCM_DTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r15d, %ecx
	je	LBB0_4
## %bb.3:
	movq	_SerialSignal_DTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, 4(%rbx)
LBB0_4:
	testl	%r14d, %eax
	je	LBB0_6
## %bb.5:
	movq	_SerialSignal_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
LBB0_6:
	testl	%r14d, %ecx
	je	LBB0_8
## %bb.7:
	movq	_SerialSignal_DTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
LBB0_8:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_set_signals
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIOCM_RTS,4,2                  ## @TIOCM_RTS
	.comm	_SerialSignal_RTS,4,2           ## @SerialSignal_RTS
	.comm	_TIOCM_DTR,4,2                  ## @TIOCM_DTR
	.comm	_SerialSignal_DTR,4,2           ## @SerialSignal_DTR
	.no_dead_strip	_tiocmset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tiocmset
_tiocmset:                              ; @tiocmset
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x21, x2
	ldr	x19, [x0]
	mov	w0, w3
	bl	_DBGINFO
Lloh0:
	adrp	x8, _TIOCM_RTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIOCM_RTS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _SerialSignal_RTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SerialSignal_RTS@GOTPAGEOFF]
	tst	w9, w21
	b.eq	LBB0_2
; %bb.1:
	ldr	w10, [x8]
	ldr	w11, [x19, #4]
	orr	w10, w11, w10
	str	w10, [x19, #4]
LBB0_2:
Lloh5:
	adrp	x10, _TIOCM_DTR@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TIOCM_DTR@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x10]
Lloh8:
	adrp	x10, _SerialSignal_DTR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SerialSignal_DTR@GOTPAGEOFF]
	tst	w11, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	w12, [x10]
	ldr	w13, [x19, #4]
	orr	w12, w13, w12
	str	w12, [x19, #4]
LBB0_4:
	tst	w9, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
LBB0_6:
	tst	w11, w20
	b.eq	LBB0_8
; %bb.7:
	ldr	w8, [x10]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
LBB0_8:
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_set_signals
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TIOCM_RTS,4,2                  ; @TIOCM_RTS
	.comm	_SerialSignal_RTS,4,2           ; @SerialSignal_RTS
	.comm	_TIOCM_DTR,4,2                  ; @TIOCM_DTR
	.comm	_SerialSignal_DTR,4,2           ; @SerialSignal_DTR
	.no_dead_strip	_tiocmset
.subsections_via_symbols
