	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ser_unix_async                 ## -- Begin function ser_unix_async
	.p2align	4, 0x90
_ser_unix_async:                        ## @ser_unix_async
	.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	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	movl	$128, (%rbx)
	movq	%rbx, %rdi
	callq	_serial_debug_p
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf_unfiltered
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_reschedule                     ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	callq	_serial_debug_p
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf_unfiltered
LBB0_6:
	movl	(%rbx), %edi
	cmpl	$128, %edi
	je	LBB0_9
## %bb.7:
	cmpl	$129, %edi
	jne	LBB0_8
## %bb.10:
	movl	4(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_delete_file_handler            ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_delete_timer                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gdb_stdlog,4,2                 ## @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[fd%d->asynchronous]\n"

L_.str.1:                               ## @.str.1
	.asciz	"[fd%d->synchronous]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ser_unix_async                 ; -- Begin function ser_unix_async
	.p2align	2
_ser_unix_async:                        ; @ser_unix_async
	.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
	mov	x19, x0
	cbz	w1, LBB0_4
; %bb.1:
	mov	w8, #128
	str	w8, [x19]
	mov	x0, x19
	bl	_serial_debug_p
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _gdb_stdlog@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gdb_stdlog@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19, #4]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf_unfiltered
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_reschedule
LBB0_4:
	mov	x0, x19
	bl	_serial_debug_p
	cbz	x0, LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _gdb_stdlog@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gdb_stdlog@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w2, [x19, #4]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf_unfiltered
LBB0_6:
	ldr	w0, [x19]
	cmp	w0, #128
	b.eq	LBB0_9
; %bb.7:
	cmp	w0, #129
	b.ne	LBB0_10
; %bb.8:
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_delete_file_handler
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_delete_timer
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_gdb_stdlog,4,2                 ; @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[fd%d->asynchronous]\n"

l_.str.1:                               ; @.str.1
	.asciz	"[fd%d->synchronous]\n"

.subsections_via_symbols
