	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hso_log_port
_hso_log_port:                          ## @hso_log_port
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_HSO_PORT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$9, %eax
	ja	LBB0_9
## %bb.1:
	leaq	L_.str(%rip), %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	leaq	L_.str.5(%rip), %r14
	jmp	LBB0_12
LBB0_9:
	leaq	L_.str.10(%rip), %r14
	jmp	LBB0_12
LBB0_10:
	movq	%r15, %rdi
	callq	_dev2net
	movq	(%rax), %rax
	movq	(%rax), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	leaq	L_.str.9(%rip), %r14
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.8(%rip), %r14
	jmp	LBB0_12
LBB0_3:
	leaq	L_.str.3(%rip), %r14
	jmp	LBB0_12
LBB0_2:
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_12
LBB0_7:
	leaq	L_.str.7(%rip), %r14
	jmp	LBB0_12
LBB0_6:
	leaq	L_.str.6(%rip), %r14
	jmp	LBB0_12
LBB0_4:
	leaq	L_.str.4(%rip), %r14
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str.1(%rip), %r14
LBB0_12:
	movq	_tty_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r15, %rdi
	callq	_dev2ser
	movl	(%rax), %ecx
	leaq	L_.str.12(%rip), %rsi
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_sprintf
LBB0_13:
	movq	8(%r15), %rdi
	leaq	L_.str.13(%rip), %rsi
	leaq	-64(%rbp), %rcx
	movq	%r14, %rdx
	callq	_dev_dbg
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_12
	.long	L0_0_set_4
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_HSO_PORT_MASK,4,2              ## @HSO_PORT_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Control"

L_.str.1:                               ## @.str.1
	.asciz	"Application"

L_.str.2:                               ## @.str.2
	.asciz	"GPS"

L_.str.3:                               ## @.str.3
	.asciz	"GPS control"

L_.str.4:                               ## @.str.4
	.asciz	"Application2"

L_.str.5:                               ## @.str.5
	.asciz	"PCSC"

L_.str.6:                               ## @.str.6
	.asciz	"Diagnostic"

L_.str.7:                               ## @.str.7
	.asciz	"Diagnostic2"

L_.str.8:                               ## @.str.8
	.asciz	"Modem"

L_.str.9:                               ## @.str.9
	.asciz	"Network"

L_.str.10:                              ## @.str.10
	.asciz	"Unknown"

L_.str.12:                              ## @.str.12
	.asciz	"/dev/%s%d"

	.comm	_tty_filename,8,3               ## @tty_filename
L_.str.13:                              ## @.str.13
	.asciz	"HSO: Found %s port %s\n"

	.no_dead_strip	_hso_log_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hso_log_port
_hso_log_port:                          ; @hso_log_port
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _HSO_PORT_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HSO_PORT_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #9
	b.hi	LBB0_3
; %bb.1:
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh10:
	adrp	x20, l_.str.5@PAGE
Lloh11:
	add	x20, x20, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_3:
Lloh12:
	adrp	x20, l_.str.10@PAGE
Lloh13:
	add	x20, x20, l_.str.10@PAGEOFF
	b	LBB0_12
LBB0_4:
	mov	x0, x19
	bl	_dev2net
	ldr	x8, [x0]
	ldr	x1, [x8]
	add	x0, sp, #20
	bl	_strcpy
Lloh14:
	adrp	x20, l_.str.9@PAGE
Lloh15:
	add	x20, x20, l_.str.9@PAGEOFF
	b	LBB0_13
LBB0_5:
Lloh16:
	adrp	x20, l_.str.8@PAGE
Lloh17:
	add	x20, x20, l_.str.8@PAGEOFF
	b	LBB0_12
LBB0_6:
Lloh18:
	adrp	x20, l_.str.3@PAGE
Lloh19:
	add	x20, x20, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_7:
Lloh20:
	adrp	x20, l_.str.2@PAGE
Lloh21:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_8:
Lloh22:
	adrp	x20, l_.str.7@PAGE
Lloh23:
	add	x20, x20, l_.str.7@PAGEOFF
	b	LBB0_12
LBB0_9:
Lloh24:
	adrp	x20, l_.str.6@PAGE
Lloh25:
	add	x20, x20, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh26:
	adrp	x20, l_.str.4@PAGE
Lloh27:
	add	x20, x20, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh28:
	adrp	x20, l_.str.1@PAGE
Lloh29:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_12:
Lloh30:
	adrp	x8, _tty_filename@GOTPAGE
Lloh31:
	ldr	x8, [x8, _tty_filename@GOTPAGEOFF]
Lloh32:
	ldr	x21, [x8]
	mov	x0, x19
	bl	_dev2ser
	ldr	w8, [x0]
	str	x8, [sp]
Lloh33:
	adrp	x1, l_.str.12@PAGE
Lloh34:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x0, sp, #20
	mov	x2, x21
	bl	_sprintf
LBB0_13:
	ldr	x0, [x19, #8]
Lloh35:
	adrp	x1, l_.str.13@PAGE
Lloh36:
	add	x1, x1, l_.str.13@PAGEOFF
	add	x3, sp, #20
	mov	x2, x20
	bl	_dev_dbg
	ldr	x8, [sp, #40]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_HSO_PORT_MASK,4,2              ; @HSO_PORT_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Control"

l_.str.1:                               ; @.str.1
	.asciz	"Application"

l_.str.2:                               ; @.str.2
	.asciz	"GPS"

l_.str.3:                               ; @.str.3
	.asciz	"GPS control"

l_.str.4:                               ; @.str.4
	.asciz	"Application2"

l_.str.5:                               ; @.str.5
	.asciz	"PCSC"

l_.str.6:                               ; @.str.6
	.asciz	"Diagnostic"

l_.str.7:                               ; @.str.7
	.asciz	"Diagnostic2"

l_.str.8:                               ; @.str.8
	.asciz	"Modem"

l_.str.9:                               ; @.str.9
	.asciz	"Network"

l_.str.10:                              ; @.str.10
	.asciz	"Unknown"

l_.str.12:                              ; @.str.12
	.asciz	"/dev/%s%d"

	.comm	_tty_filename,8,3               ; @tty_filename
l_.str.13:                              ; @.str.13
	.asciz	"HSO: Found %s port %s\n"

	.no_dead_strip	_hso_log_port
.subsections_via_symbols
