	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipx_map_frame_type
_ipx_map_frame_type:                    ## @ipx_map_frame_type
	.cfi_startproc
## %bb.0:
	addb	$-128, %dil
	cmpb	$3, %dil
	ja	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movsbq	%dil, %rax
	leaq	l_switch.table.ipx_map_frame_type(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_htons                          ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IPX,4,2                  ## @ETH_P_IPX
	.comm	_ETH_P_802_2,4,2                ## @ETH_P_802_2
	.comm	_ETH_P_SNAP,4,2                 ## @ETH_P_SNAP
	.comm	_ETH_P_802_3,4,2                ## @ETH_P_802_3
	.no_dead_strip	_ipx_map_frame_type
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ipx_map_frame_type
l_switch.table.ipx_map_frame_type:
	.quad	_ETH_P_SNAP
	.quad	_ETH_P_IPX
	.quad	_ETH_P_802_3
	.quad	_ETH_P_802_2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipx_map_frame_type
_ipx_map_frame_type:                    ; @ipx_map_frame_type
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
	sxtb	x8, w0
	eor	x8, x8, #0xffffffffffffff80
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.ipx_map_frame_type@PAGE
Lloh1:
	add	x9, x9, l_switch.table.ipx_map_frame_type@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	ldr	w0, [x8]
	b	_htons
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IPX,4,2                  ; @ETH_P_IPX
	.comm	_ETH_P_802_2,4,2                ; @ETH_P_802_2
	.comm	_ETH_P_SNAP,4,2                 ; @ETH_P_SNAP
	.comm	_ETH_P_802_3,4,2                ; @ETH_P_802_3
	.no_dead_strip	_ipx_map_frame_type
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ipx_map_frame_type
l_switch.table.ipx_map_frame_type:
	.quad	_ETH_P_SNAP
	.quad	_ETH_P_IPX
	.quad	_ETH_P_802_3
	.quad	_ETH_P_802_2

.subsections_via_symbols
