	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ebt_log_packet
_ebt_log_packet:                        ## @ebt_log_packet
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	_ebt_log_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_bh
	movq	16(%r12), %rbx
	leaq	L_.str.1(%rip), %r15
	movq	%r15, %rax
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movq	(%r13), %rax
LBB0_2:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	$48, %rbx
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	(%r14), %r15
LBB0_4:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_eth_hdr
	movl	12(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_eth_hdr
	movl	8(%rax), %r13d
	movq	%r14, %rdi
	callq	_eth_hdr
	movq	(%rax), %rdi
	callq	_ntohs
	movl	%eax, %r10d
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	16(%rbp), %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r13
	callq	_printk
	addq	$16, %rsp
	movq	(%r12), %rax
	movq	_NF_LOG_TYPE_LOG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.6:
	movq	_NF_LOG_MASK@GOTPCREL(%rip), %r12
	jmp	LBB0_7
LBB0_5:
	addq	$8, %r12
LBB0_7:
	movl	(%r12), %ebx
	movq	_EBT_LOG_IP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_13
## %bb.8:
	movq	%r12, %rdi
	callq	_eth_hdr
	movq	(%rax), %r14
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r14
	jne	LBB0_13
## %bb.9:
	leaq	-152(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_skb_header_pointer
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	%rax, %rbx
	leaq	72(%rax), %rsi
	movq	%rax, %rdx
	addq	$68, %rdx
	movl	76(%rax), %r8d
	movl	80(%rax), %ecx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movl	(%rbx), %edx
	movl	76(%rbx), %esi
	shll	$2, %edx
	movq	%r12, %rdi
	callq	_print_ports
	jmp	LBB0_24
LBB0_13:
	movq	_EBT_LOG_ARP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_24
## %bb.14:
	movq	%r12, %rdi
	callq	_eth_hdr
	movq	(%rax), %rbx
	movq	_ETH_P_ARP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	callq	_eth_hdr
	movq	(%rax), %rbx
	movq	_ETH_P_RARP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_24
LBB0_16:
	leaq	-152(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_skb_header_pointer
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	callq	_ntohs
	movl	%eax, %r14d
	movq	16(%rbx), %rdi
	callq	_ntohs
	movl	%eax, %r15d
	movq	24(%rbx), %rdi
	callq	_ntohs
	leaq	L_.str.5(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_printk
	movq	8(%rbx), %r14
	movl	$1, %edi
	callq	_htons
	cmpq	%rax, %r14
	jne	LBB0_24
## %bb.19:
	movq	32(%rbx), %rax
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.20:
	cmpl	$4, 40(%rbx)
	jne	LBB0_24
## %bb.21:
	leaq	-240(%rbp), %rcx
	movq	%r12, %rdi
	movl	$88, %esi
	movl	$88, %edx
	callq	_skb_header_pointer
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	movl	56(%rax), %esi
	movl	52(%rax), %edx
	movl	44(%rax), %r8d
	movl	48(%rax), %ecx
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_24
LBB0_17:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
LBB0_11:
	xorl	%eax, %eax
	callq	_printk
LBB0_24:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	_ebt_log_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_bh
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ebt_log_lock,4,2               ## @ebt_log_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<%c>%s IN=%s OUT=%s MAC source = %pM MAC dest = %pM proto = 0x%04x"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_NF_LOG_TYPE_LOG,8,3            ## @NF_LOG_TYPE_LOG
	.comm	_NF_LOG_MASK,4,2                ## @NF_LOG_MASK
	.comm	_EBT_LOG_IP,4,2                 ## @EBT_LOG_IP
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
L_.str.2:                               ## @.str.2
	.asciz	" INCOMPLETE IP header"

L_.str.3:                               ## @.str.3
	.asciz	" IP SRC=%pI4 IP DST=%pI4, IP tos=0x%02X, IP proto=%d"

	.comm	_EBT_LOG_ARP,4,2                ## @EBT_LOG_ARP
	.comm	_ETH_P_ARP,4,2                  ## @ETH_P_ARP
	.comm	_ETH_P_RARP,4,2                 ## @ETH_P_RARP
L_.str.4:                               ## @.str.4
	.asciz	" INCOMPLETE ARP header"

L_.str.5:                               ## @.str.5
	.asciz	" ARP HTYPE=%d, PTYPE=0x%04x, OPCODE=%d"

	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
L_.str.6:                               ## @.str.6
	.asciz	" INCOMPLETE ARP payload"

L_.str.7:                               ## @.str.7
	.asciz	" ARP MAC SRC=%pM ARP IP SRC=%pI4 ARP MAC DST=%pM ARP IP DST=%pI4"

L_.str.8:                               ## @.str.8
	.asciz	"\n"

	.comm	_EBT_LOG_IP6,4,2                ## @EBT_LOG_IP6
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.no_dead_strip	_ebt_log_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ebt_log_packet
_ebt_log_packet:                        ; @ebt_log_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x6
	mov	x20, x5
	mov	x22, x4
	mov	x23, x3
	mov	x19, x2
Lloh0:
	adrp	x0, _ebt_log_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ebt_log_lock@GOTPAGEOFF]
	bl	_spin_lock_bh
	ldr	x8, [x20, #16]
	add	x24, x8, #48
	cbz	x23, LBB0_3
; %bb.1:
	ldr	x23, [x23]
	cbz	x22, LBB0_4
LBB0_2:
	ldr	x22, [x22]
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
	cbnz	x22, LBB0_2
LBB0_4:
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_eth_hdr
	ldr	w25, [x0, #12]
	mov	x0, x19
	bl	_eth_hdr
	ldr	w26, [x0, #8]
	mov	x0, x19
	bl	_eth_hdr
	ldr	x0, [x0]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #40]
	stp	x22, x25, [sp, #24]
	stp	x21, x23, [sp, #8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	str	x24, [sp]
	bl	_printk
	ldr	x8, [x20], #8
Lloh8:
	adrp	x9, _NF_LOG_TYPE_LOG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NF_LOG_TYPE_LOG@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _NF_LOG_MASK@GOTPAGE
Lloh12:
	ldr	x10, [x10, _NF_LOG_MASK@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x20, x10, eq
	ldr	w20, [x8]
Lloh13:
	adrp	x8, _EBT_LOG_IP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EBT_LOG_IP@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_eth_hdr
	ldr	x21, [x0]
Lloh16:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_9
; %bb.7:
	add	x3, sp, #152
	mov	x0, x19
	mov	w1, #0
	mov	w2, #88
	bl	_skb_header_pointer
	cbz	x0, LBB0_19
; %bb.8:
	mov	x20, x0
	add	x8, x0, #72
	add	x9, x0, #68
	ldp	w11, w10, [x0, #76]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
	ldr	w1, [x20, #76]
	ldr	w8, [x20]
	lsl	w2, w8, #2
	mov	x0, x19
	bl	_print_ports
	b	LBB0_21
LBB0_9:
Lloh21:
	adrp	x8, _EBT_LOG_ARP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EBT_LOG_ARP@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_21
; %bb.10:
	mov	x0, x19
	bl	_eth_hdr
	ldr	x20, [x0]
Lloh24:
	adrp	x8, _ETH_P_ARP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ETH_P_ARP@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_htons
	cmp	x20, x0
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_eth_hdr
	ldr	x20, [x0]
Lloh27:
	adrp	x8, _ETH_P_RARP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ETH_P_RARP@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_htons
	cmp	x20, x0
	b.ne	LBB0_21
LBB0_12:
	add	x3, sp, #152
	mov	x0, x19
	mov	w1, #0
	mov	w2, #88
	bl	_skb_header_pointer
	cbz	x0, LBB0_18
; %bb.13:
	mov	x20, x0
	ldr	x0, [x0, #8]
	bl	_ntohs
	mov	x21, x0
	ldr	x0, [x20, #16]
	bl	_ntohs
	mov	x22, x0
	ldr	x0, [x20, #24]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp, #8]
	str	x21, [sp]
Lloh30:
	adrp	x0, l_.str.5@PAGE
Lloh31:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printk
	ldr	x21, [x20, #8]
	mov	w0, #1
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_21
; %bb.14:
	ldr	x8, [x20, #32]
Lloh32:
	adrp	x9, _ETH_ALEN@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ETH_ALEN@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.15:
	ldr	w8, [x20, #40]
	cmp	w8, #4
	b.ne	LBB0_21
; %bb.16:
	add	x3, sp, #64
	mov	x0, x19
	mov	w1, #88
	mov	w2, #88
	bl	_skb_header_pointer
	cbz	x0, LBB0_22
; %bb.17:
	ldp	w9, w8, [x0, #52]
	ldp	w11, w10, [x0, #44]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_20
LBB0_18:
Lloh37:
	adrp	x0, l_.str.4@PAGE
Lloh38:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_20
LBB0_19:
Lloh39:
	adrp	x0, l_.str.2@PAGE
Lloh40:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_20:
	bl	_printk
LBB0_21:
Lloh41:
	adrp	x0, l_.str.8@PAGE
Lloh42:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printk
Lloh43:
	adrp	x0, _ebt_log_lock@GOTPAGE
Lloh44:
	ldr	x0, [x0, _ebt_log_lock@GOTPAGEOFF]
	bl	_spin_unlock_bh
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_22:
Lloh45:
	adrp	x0, l_.str.6@PAGE
Lloh46:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_20
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_ebt_log_lock,4,2               ; @ebt_log_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<%c>%s IN=%s OUT=%s MAC source = %pM MAC dest = %pM proto = 0x%04x"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_NF_LOG_TYPE_LOG,8,3            ; @NF_LOG_TYPE_LOG
	.comm	_NF_LOG_MASK,4,2                ; @NF_LOG_MASK
	.comm	_EBT_LOG_IP,4,2                 ; @EBT_LOG_IP
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
l_.str.2:                               ; @.str.2
	.asciz	" INCOMPLETE IP header"

l_.str.3:                               ; @.str.3
	.asciz	" IP SRC=%pI4 IP DST=%pI4, IP tos=0x%02X, IP proto=%d"

	.comm	_EBT_LOG_ARP,4,2                ; @EBT_LOG_ARP
	.comm	_ETH_P_ARP,4,2                  ; @ETH_P_ARP
	.comm	_ETH_P_RARP,4,2                 ; @ETH_P_RARP
l_.str.4:                               ; @.str.4
	.asciz	" INCOMPLETE ARP header"

l_.str.5:                               ; @.str.5
	.asciz	" ARP HTYPE=%d, PTYPE=0x%04x, OPCODE=%d"

	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
l_.str.6:                               ; @.str.6
	.asciz	" INCOMPLETE ARP payload"

l_.str.7:                               ; @.str.7
	.asciz	" ARP MAC SRC=%pM ARP IP SRC=%pI4 ARP MAC DST=%pM ARP IP DST=%pI4"

l_.str.8:                               ; @.str.8
	.asciz	"\n"

	.comm	_EBT_LOG_IP6,4,2                ; @EBT_LOG_IP6
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.no_dead_strip	_ebt_log_packet
.subsections_via_symbols
