	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv4_skb_to_auditdata          ## -- Begin function ipv4_skb_to_auditdata
	.p2align	4, 0x90
_ipv4_skb_to_auditdata:                 ## @ipv4_skb_to_auditdata
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_ip_hdr
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %rbx
	movl	12(%rax), %eax
	movl	%eax, 12(%r14)
	movl	8(%rbx), %eax
	movl	%eax, 8(%r14)
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movl	(%rbx), %eax
	movl	%eax, (%r15)
LBB0_3:
	movl	4(%rbx), %edi
	callq	_ntohs
	movq	_IP_OFFSET@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	testl	%eax, (%rcx)
	jne	LBB0_13
## %bb.4:
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_12
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movq	%r12, %rdi
	callq	_udp_hdr
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_13
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_13
LBB0_11:
	movq	%r12, %rdi
	callq	_sctp_hdr
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_13
LBB0_10:
	movq	%r12, %rdi
	callq	_dccp_hdr
	testq	%rax, %rax
	je	LBB0_13
LBB0_8:
	movl	4(%rax), %ecx
	movl	%ecx, 4(%r14)
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_13:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r12, %rdi
	callq	_tcp_hdr
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IP_OFFSET,4,2                  ## @IP_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv4_skb_to_auditdata          ; -- Begin function ipv4_skb_to_auditdata
	.p2align	2
_ipv4_skb_to_auditdata:                 ; @ipv4_skb_to_auditdata
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_ip_hdr
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
	ldr	d0, [x0, #8]
	str	d0, [x19, #8]
	cbz	x22, LBB0_3
; %bb.2:
	ldr	w8, [x21]
	str	w8, [x22]
LBB0_3:
	ldr	w0, [x21, #4]
	bl	_ntohs
Lloh0:
	adrp	x8, _IP_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IP_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_12
LBB0_5:
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_8
; %bb.6:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	x0, x20
	bl	_udp_hdr
	cbnz	x0, LBB0_11
	b	LBB0_12
LBB0_8:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_9:
	mov	x0, x20
	bl	_sctp_hdr
	cbnz	x0, LBB0_11
	b	LBB0_12
LBB0_10:
	mov	x0, x20
	bl	_dccp_hdr
	cbz	x0, LBB0_12
LBB0_11:
	mov	x8, x0
	mov	w0, #0
	ldr	d0, [x8]
	str	d0, [x19]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	x0, x20
	bl	_tcp_hdr
	cbnz	x0, LBB0_11
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IP_OFFSET,4,2                  ; @IP_OFFSET
.subsections_via_symbols
