	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libipw_classify
_libipw_classify:                       ## @libipw_classify
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	xorl	%r14d, %r14d
	cmpq	%rax, %r15
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_ip_hdr
	movl	$252, %ecx
	andl	(%rax), %ecx
	addl	$-32, %ecx
	roll	$27, %ecx
	cmpl	$6, %ecx
	ja	LBB0_3
## %bb.2:
	movslq	%ecx, %rax
	leaq	l_switch.table.libipw_classify(%rip), %rcx
	movl	(%rcx,%rax,4), %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.no_dead_strip	_libipw_classify
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.libipw_classify
l_switch.table.libipw_classify:
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	5                               ## 0x5
	.long	6                               ## 0x6
	.long	7                               ## 0x7

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libipw_classify
_libipw_classify:                       ; @libipw_classify
	.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, x0
	ldr	x8, [x0]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x20, x0
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_ip_hdr
	ldr	w8, [x0]
	and	w8, w8, #0xfc
	sub	w8, w8, #32
	ror	w8, w8, #5
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, l_switch.table.libipw_classify@PAGE
Lloh4:
	add	x9, x9, l_switch.table.libipw_classify@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.no_dead_strip	_libipw_classify
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.libipw_classify
l_switch.table.libipw_classify:
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	5                               ; 0x5
	.long	6                               ; 0x6
	.long	7                               ; 0x7

.subsections_via_symbols
