	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_serial_open
_remote_serial_open:                    ## @remote_serial_open
	.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
	cmpb	$0, _remote_serial_open.udp_warning(%rip)
	jne	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_warning
	leaq	L_.str.2(%rip), %rdi
	callq	_warning
	movb	$1, _remote_serial_open.udp_warning(%rip)
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_serial_open                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_remote_serial_open.udp_warning,1,2 ## @remote_serial_open.udp_warning
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"udp:"

L_.str.1:                               ## @.str.1
	.asciz	"The remote protocol may be unreliable over UDP."

L_.str.2:                               ## @.str.2
	.asciz	"Some events may be lost, rendering further debugging impossible."

	.no_dead_strip	_remote_serial_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_serial_open
_remote_serial_open:                    ; @remote_serial_open
	.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
	adrp	x20, _remote_serial_open.udp_warning@PAGE
	ldrb	w8, [x20, _remote_serial_open.udp_warning@PAGEOFF]
	tbnz	w8, #0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_strncmp
	cbnz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warning
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warning
	mov	w8, #1
	strb	w8, [x20, _remote_serial_open.udp_warning@PAGEOFF]
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_serial_open
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_remote_serial_open.udp_warning,1,2 ; @remote_serial_open.udp_warning
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"udp:"

l_.str.1:                               ; @.str.1
	.asciz	"The remote protocol may be unreliable over UDP."

l_.str.2:                               ; @.str.2
	.asciz	"Some events may be lost, rendering further debugging impossible."

	.no_dead_strip	_remote_serial_open
.subsections_via_symbols
