	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_port_type
_get_port_type:                         ## @get_port_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 $esi killed $esi def $rsi
	leal	5(%rsi), %eax
	leal	12(%rsi), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	leal	(%rsi,%rsi), %edx
	addl	$10, %edx
	movslq	%ecx, %rax
	movl	(%rdi,%rax,4), %eax
	andb	$14, %dl
	movb	$16, %cl
	subb	%dl, %cl
	sarl	%cl, %eax
	andl	$3, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_port_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_port_type
_get_port_type:                         ; @get_port_type
	.cfi_startproc
; %bb.0:
	add	w8, w1, #5
	add	w9, w1, #12
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #3
	ubfiz	w8, w8, #1, #3
	mov	w10, #16
	sub	w8, w10, w8
	ldr	w9, [x0, w9, sxtw #2]
	asr	w8, w9, w8
	and	w0, w8, #0x3
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_port_type
.subsections_via_symbols
