	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hso_sysfs_show_porttype
_hso_sysfs_show_porttype:               ## @hso_sysfs_show_porttype
	.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	%rdx, %rbx
	callq	_dev_get_drvdata
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_HSO_PORT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$9, %ecx
	ja	LBB0_2
## %bb.3:
	movslq	%ecx, %rax
	leaq	l_reltable.hso_sysfs_show_porttype(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.10(%rip), %rdx
LBB0_4:
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- 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	"Application2"

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

L_.str.4:                               ## @.str.4
	.asciz	"GPS Control"

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.11:                              ## @.str.11
	.asciz	"%s\n"

	.no_dead_strip	_hso_sysfs_show_porttype
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.hso_sysfs_show_porttype
l_reltable.hso_sysfs_show_porttype:
	.long	L_.str.5-l_reltable.hso_sysfs_show_porttype
	.long	L_.str.9-l_reltable.hso_sysfs_show_porttype
	.long	L_.str.8-l_reltable.hso_sysfs_show_porttype
	.long	L_.str.4-l_reltable.hso_sysfs_show_porttype
	.long	L_.str.3-l_reltable.hso_sysfs_show_porttype
	.long	L_.str.7-l_reltable.hso_sysfs_show_porttype
	.long	L_.str.6-l_reltable.hso_sysfs_show_porttype
	.long	L_.str-l_reltable.hso_sysfs_show_porttype
	.long	L_.str.2-l_reltable.hso_sysfs_show_porttype
	.long	L_.str.1-l_reltable.hso_sysfs_show_porttype

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hso_sysfs_show_porttype
_hso_sysfs_show_porttype:               ; @hso_sysfs_show_porttype
	.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, x2
	bl	_dev_get_drvdata
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _HSO_PORT_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HSO_PORT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #9
	b.hi	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, l_switch.table.hso_sysfs_show_porttype@PAGE
Lloh4:
	add	x9, x9, l_switch.table.hso_sysfs_show_porttype@PAGEOFF
	ldr	x2, [x9, w8, sxtw #3]
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh5:
	adrp	x2, l_.str.10@PAGE
Lloh6:
	add	x2, x2, l_.str.10@PAGEOFF
LBB0_5:
Lloh7:
	adrp	x1, l_.str.11@PAGE
Lloh8:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- 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	"Application2"

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

l_.str.4:                               ; @.str.4
	.asciz	"GPS Control"

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.11:                              ; @.str.11
	.asciz	"%s\n"

	.no_dead_strip	_hso_sysfs_show_porttype
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.hso_sysfs_show_porttype
l_switch.table.hso_sysfs_show_porttype:
	.quad	l_.str.5
	.quad	l_.str.9
	.quad	l_.str.8
	.quad	l_.str.4
	.quad	l_.str.3
	.quad	l_.str.7
	.quad	l_.str.6
	.quad	l_.str
	.quad	l_.str.2
	.quad	l_.str.1

.subsections_via_symbols
