	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipv4_get_l4proto
_ipv4_get_l4proto:                      ## @ipv4_get_l4proto
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	leaq	-56(%rbp), %rcx
	movl	$12, %edx
	callq	_skb_header_pointer
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	(%rax), %r13d
	movq	_IP_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	testl	%r13d, %eax
	je	LBB0_3
LBB0_1:
	movq	_NF_DROP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movl	4(%rbx), %eax
	leal	(%r12,%rax,4), %eax
	movl	%eax, (%r15)
	movl	8(%rbx), %eax
	movl	%eax, (%r14)
	movq	_NF_ACCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NF_DROP,4,2                    ## @NF_DROP
	.comm	_IP_OFFSET,4,2                  ## @IP_OFFSET
	.comm	_NF_ACCEPT,4,2                  ## @NF_ACCEPT
	.no_dead_strip	_ipv4_get_l4proto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipv4_get_l4proto
_ipv4_get_l4proto:                      ; @ipv4_get_l4proto
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x3, sp
	mov	w2, #12
	bl	_skb_header_pointer
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	ldr	w23, [x0]
Lloh0:
	adrp	x8, _IP_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IP_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	tst	w0, w23
	b.eq	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _NF_DROP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NF_DROP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	ldr	w8, [x22, #4]
	add	w8, w21, w8, lsl #2
	str	w8, [x20]
	ldr	w8, [x22, #8]
	str	w8, [x19]
Lloh6:
	adrp	x8, _NF_ACCEPT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NF_ACCEPT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NF_DROP,4,2                    ; @NF_DROP
	.comm	_IP_OFFSET,4,2                  ; @IP_OFFSET
	.comm	_NF_ACCEPT,4,2                  ; @NF_ACCEPT
	.no_dead_strip	_ipv4_get_l4proto
.subsections_via_symbols
