	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hso_serial_set_termios
_hso_serial_set_termios:                ## @hso_serial_set_termios
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_get_serial_by_tty
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rdi
	callq	_D5
LBB0_2:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	__hso_serial_set_termios
	jmp	LBB0_5
LBB0_4:
	movq	%r14, (%r15)
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Termios called with: cflags new[%d] - old[%d]"

	.no_dead_strip	_hso_serial_set_termios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hso_serial_set_termios
_hso_serial_set_termios:                ; @hso_serial_set_termios
	.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	x19, x1
	mov	x21, x0
	bl	_get_serial_by_tty
	mov	x20, x0
	cbz	x19, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D5
LBB0_2:
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	bl	__hso_serial_set_termios
	b	LBB0_5
LBB0_4:
	str	x19, [x21]
LBB0_5:
	mov	x0, x20
	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
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Termios called with: cflags new[%d] - old[%d]"

	.no_dead_strip	_hso_serial_set_termios
.subsections_via_symbols
