	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isicom_tiocmset
_isicom_tiocmset:                       ## @isicom_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	8(%rdi), %rbx
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_isicom_paranoia_check
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_2:
	movq	(%rbx), %rdi
	callq	_spin_lock_irqsave
	movq	_TIOCM_RTS@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_raise_rts
LBB0_4:
	movq	_TIOCM_DTR@GOTPCREL(%rip), %r13
	testl	%r15d, (%r13)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_raise_dtr
LBB0_6:
	testl	%r14d, (%r12)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_drop_rts
LBB0_8:
	testl	%r14d, (%r13)
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_drop_dtr
LBB0_10:
	movq	(%rbx), %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"isicom_ioctl"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_TIOCM_RTS,4,2                  ## @TIOCM_RTS
	.comm	_TIOCM_DTR,4,2                  ## @TIOCM_DTR
	.no_dead_strip	_isicom_tiocmset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isicom_tiocmset
_isicom_tiocmset:                       ; @isicom_tiocmset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	ldr	x19, [x0, #8]
	ldr	w1, [x0]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_isicom_paranoia_check
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_2:
	ldr	x0, [x19]
	bl	_spin_lock_irqsave
Lloh5:
	adrp	x22, _TIOCM_RTS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _TIOCM_RTS@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_raise_rts
LBB0_4:
Lloh7:
	adrp	x23, _TIOCM_DTR@GOTPAGE
Lloh8:
	ldr	x23, [x23, _TIOCM_DTR@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_raise_dtr
LBB0_6:
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_drop_rts
LBB0_8:
	ldr	w8, [x23]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_drop_dtr
LBB0_10:
	ldr	x0, [x19]
	bl	_spin_unlock_irqrestore
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"isicom_ioctl"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_TIOCM_RTS,4,2                  ; @TIOCM_RTS
	.comm	_TIOCM_DTR,4,2                  ; @TIOCM_DTR
	.no_dead_strip	_isicom_tiocmset
.subsections_via_symbols
