	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rp_tiocmset
_rp_tiocmset:                           ## @rp_tiocmset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_TIOCM_RTS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%edx, %esi
	je	LBB0_2
## %bb.1:
	movq	_SET_RTS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	movq	(%rax), %rdi
	orl	%r8d, 12(%rdi)
LBB0_2:
	movq	_TIOCM_DTR@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	testl	%edx, %edi
	je	LBB0_4
## %bb.3:
	movq	_SET_DTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	(%rax), %rdx
	orl	%r8d, 12(%rdx)
LBB0_4:
	testl	%ecx, %esi
	je	LBB0_6
## %bb.5:
	movq	_SET_RTS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	movq	(%rax), %rsi
	andl	%edx, 12(%rsi)
LBB0_6:
	testl	%ecx, %edi
	je	LBB0_7
## %bb.8:
	movq	_SET_DTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	movq	(%rax), %rsi
	andl	%ecx, 12(%rsi)
	jmp	LBB0_9
LBB0_7:
	movq	(%rax), %rsi
LBB0_9:
	movl	8(%rax), %edi
	callq	_out32
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIOCM_RTS,4,2                  ## @TIOCM_RTS
	.comm	_SET_RTS,4,2                    ## @SET_RTS
	.comm	_TIOCM_DTR,4,2                  ## @TIOCM_DTR
	.comm	_SET_DTR,4,2                    ## @SET_DTR
	.no_dead_strip	_rp_tiocmset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rp_tiocmset
_rp_tiocmset:                           ; @rp_tiocmset
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _TIOCM_RTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TIOCM_RTS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
Lloh3:
	adrp	x9, _SET_RTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SET_RTS@GOTPAGEOFF]
	tst	w10, w2
	b.eq	LBB0_2
; %bb.1:
	ldr	w11, [x9]
	ldr	x12, [x8]
	ldr	w13, [x12, #12]
	orr	w11, w13, w11
	str	w11, [x12, #12]
LBB0_2:
Lloh5:
	adrp	x11, _TIOCM_DTR@GOTPAGE
Lloh6:
	ldr	x11, [x11, _TIOCM_DTR@GOTPAGEOFF]
Lloh7:
	ldr	w12, [x11]
Lloh8:
	adrp	x11, _SET_DTR@GOTPAGE
Lloh9:
	ldr	x11, [x11, _SET_DTR@GOTPAGEOFF]
	tst	w12, w2
	b.eq	LBB0_4
; %bb.3:
	ldr	w13, [x11]
	ldr	x14, [x8]
	ldr	w15, [x14, #12]
	orr	w13, w15, w13
	str	w13, [x14, #12]
LBB0_4:
	tst	w10, w3
	b.eq	LBB0_6
; %bb.5:
	ldr	w9, [x9]
	ldr	x10, [x8]
	ldr	w13, [x10, #12]
	bic	w9, w13, w9
	str	w9, [x10, #12]
LBB0_6:
	tst	w12, w3
	b.eq	LBB0_8
; %bb.7:
	ldr	w9, [x11]
	ldr	x1, [x8]
	ldr	w10, [x1, #12]
	bic	w9, w10, w9
	str	w9, [x1, #12]
	b	LBB0_9
LBB0_8:
	ldr	x1, [x8]
LBB0_9:
	ldr	w0, [x8, #8]
	bl	_out32
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 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	_SET_RTS,4,2                    ; @SET_RTS
	.comm	_TIOCM_DTR,4,2                  ; @TIOCM_DTR
	.comm	_SET_DTR,4,2                    ; @SET_DTR
	.no_dead_strip	_rp_tiocmset
.subsections_via_symbols
