	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_enc_type
_get_enc_type:                          ## @get_enc_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movl	$0, (%rsi)
	andl	$15, %edi
	decl	%edi
	cmpl	$4, %edi
	ja	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_3:
	movl	$1, (%rsi)
	leaq	L_.str(%rip), %rax
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str.5(%rip), %rax
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.2(%rip), %rax
	popq	%rbp
	retq
LBB0_5:
	movl	$1, (%rsi)
	leaq	L_.str.3(%rip), %rax
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.4(%rip), %rax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Direct Attached SES-2"

L_.str.1:                               ## @.str.1
	.asciz	"Direct Attached SGPIO"

L_.str.2:                               ## @.str.2
	.asciz	"Expander SGPIO"

L_.str.3:                               ## @.str.3
	.asciz	"External SES-2"

L_.str.4:                               ## @.str.4
	.asciz	"Direct Attached GPIO"

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

	.no_dead_strip	_get_enc_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_enc_type
_get_enc_type:                          ; @get_enc_type
	.cfi_startproc
; %bb.0:
	str	wzr, [x1]
	and	w8, w0, #0xf
	sub	w8, w8, #1
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w8, #1
	str	w8, [x1]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	ret
LBB0_3:
Lloh6:
	adrp	x0, l_.str.5@PAGE
Lloh7:
	add	x0, x0, l_.str.5@PAGEOFF
	ret
LBB0_4:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	ret
LBB0_5:
	mov	w8, #1
	str	w8, [x1]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	ret
LBB0_6:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_7:
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Direct Attached SES-2"

l_.str.1:                               ; @.str.1
	.asciz	"Direct Attached SGPIO"

l_.str.2:                               ; @.str.2
	.asciz	"Expander SGPIO"

l_.str.3:                               ; @.str.3
	.asciz	"External SES-2"

l_.str.4:                               ; @.str.4
	.asciz	"Direct Attached GPIO"

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

	.no_dead_strip	_get_enc_type
.subsections_via_symbols
