	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function br_nf_pre_routing
_br_nf_pre_routing:                     ## @br_nf_pre_routing
	.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	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movl	%edi, %r13d
	movq	%rsi, %rdi
	callq	_nf_bridge_encap_header_len
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pskb_may_pull
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
LBB0_18:
	movq	_NF_DROP@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	(%r15), %r14
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r14
	je	LBB0_20
## %bb.2:
	movq	%r15, %rdi
	callq	_IS_VLAN_IPV6
	testq	%rax, %rax
	jne	LBB0_20
## %bb.3:
	movq	%r15, %rdi
	callq	_IS_PPPOE_IPV6
	testq	%rax, %rax
	je	LBB0_4
LBB0_20:
	movq	%r15, %rdi
	callq	_nf_bridge_pull_encap_header_rcsum
	movl	%r13d, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_br_nf_pre_routing_ipv6         ## TAILCALL
LBB0_4:
	movq	(%r15), %r14
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r14
	je	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	callq	_IS_VLAN_IP
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	callq	_IS_PPPOE_IP
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	movq	%r15, %rdi
	callq	_nf_bridge_pull_encap_header_rcsum
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_18
## %bb.9:
	movq	%r15, %rdi
	callq	_ip_hdr
	movl	(%rax), %esi
	cmpl	$5, %esi
	jl	LBB0_18
## %bb.10:
	cmpl	$4, 4(%rax)
	jne	LBB0_18
## %bb.11:
	shll	$2, %esi
	movq	%r15, %rdi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_18
## %bb.12:
	movq	%r15, %rdi
	callq	_ip_hdr
	movq	%rax, %r14
	movl	(%rax), %esi
	movq	%rax, %rdi
	callq	_ip_fast_csum
	testq	%rax, %rax
	jne	LBB0_18
## %bb.13:
	movl	8(%r14), %edi
	callq	_ntohs
	cmpl	%eax, 8(%r15)
	jl	LBB0_18
## %bb.14:
	movl	(%r14), %ecx
	shll	$2, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_18
## %bb.15:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_pskb_trim_rcsum
	movq	%r15, %rdi
	callq	_IPCB
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	16(%r15), %edi
	callq	_nf_bridge_put
	movq	%r15, %rdi
	callq	_nf_bridge_alloc
	testl	%eax, %eax
	je	LBB0_18
## %bb.16:
	movq	%r15, %rdi
	callq	_setup_pre_routing
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movq	%r15, %rdi
	callq	_store_orig_dstaddr
	movq	_PF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NF_INET_PRE_ROUTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %ecx
	movq	_br_nf_pre_routing_finish@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdx
	xorl	%r8d, %r8d
	callq	_NF_HOOK
	movq	_NF_STOLEN@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_7:
	movq	_NF_ACCEPT@GOTPCREL(%rip), %rax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_NF_ACCEPT,4,2                  ## @NF_ACCEPT
	.comm	_NF_DROP,4,2                    ## @NF_DROP
	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_NF_INET_PRE_ROUTING,4,2        ## @NF_INET_PRE_ROUTING
	.comm	_br_nf_pre_routing_finish,4,2   ## @br_nf_pre_routing_finish
	.comm	_NF_STOLEN,4,2                  ## @NF_STOLEN
	.comm	_brnf_call_ip6tables,4,2        ## @brnf_call_ip6tables
	.comm	_brnf_call_iptables,4,2         ## @brnf_call_iptables
	.no_dead_strip	_br_nf_pre_routing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function br_nf_pre_routing
_br_nf_pre_routing:                     ; @br_nf_pre_routing
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	mov	x0, x1
	bl	_nf_bridge_encap_header_len
	mov	x1, x0
	mov	x0, x19
	bl	_pskb_may_pull
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _NF_DROP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NF_DROP@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x24, [x19]
Lloh2:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_htons
	cmp	x24, x0
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_IS_VLAN_IPV6
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_IS_PPPOE_IPV6
	cbz	x0, LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_nf_bridge_pull_encap_header_rcsum
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_br_nf_pre_routing_ipv6
LBB0_7:
	ldr	x20, [x19]
Lloh5:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_htons
	cmp	x20, x0
	b.eq	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_IS_VLAN_IP
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_IS_PPPOE_IP
	cbz	w0, LBB0_20
LBB0_10:
	mov	x0, x19
	bl	_nf_bridge_pull_encap_header_rcsum
	mov	x0, x19
	mov	w1, #12
	bl	_pskb_may_pull
	cbz	w0, LBB0_1
; %bb.11:
	mov	x0, x19
	bl	_ip_hdr
	ldr	w8, [x0]
	cmp	w8, #5
	b.lt	LBB0_1
; %bb.12:
	ldr	w9, [x0, #4]
	cmp	w9, #4
	b.ne	LBB0_1
; %bb.13:
	lsl	w1, w8, #2
	mov	x0, x19
	bl	_pskb_may_pull
	cbz	w0, LBB0_1
; %bb.14:
	mov	x0, x19
	bl	_ip_hdr
	mov	x20, x0
	ldr	w1, [x0]
	bl	_ip_fast_csum
	cbnz	x0, LBB0_1
; %bb.15:
	ldr	w0, [x20, #8]
	bl	_ntohs
	ldr	w8, [x19, #8]
	cmp	w8, w0
	b.lt	LBB0_1
; %bb.16:
	mov	x1, x0
	ldr	w8, [x20]
	cmp	w0, w8, lsl #2
	b.lt	LBB0_1
; %bb.17:
	mov	x0, x19
	bl	_pskb_trim_rcsum
	mov	x0, x19
	bl	_IPCB
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x19, #16]
	bl	_nf_bridge_put
	mov	x0, x19
	bl	_nf_bridge_alloc
	cbz	w0, LBB0_1
; %bb.18:
	mov	x0, x19
	bl	_setup_pre_routing
	cbz	w0, LBB0_1
; %bb.19:
	mov	x0, x19
	bl	_store_orig_dstaddr
Lloh8:
	adrp	x8, _PF_INET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
Lloh10:
	adrp	x9, _NF_INET_PRE_ROUTING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NF_INET_PRE_ROUTING@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	ldr	w1, [x9]
	ldr	w3, [x19, #12]
Lloh14:
	adrp	x8, _br_nf_pre_routing_finish@GOTPAGE
Lloh15:
	ldr	x8, [x8, _br_nf_pre_routing_finish@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
	mov	x2, x19
	mov	x4, #0
	bl	_NF_HOOK
Lloh17:
	adrp	x8, _NF_STOLEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NF_STOLEN@GOTPAGEOFF]
	b	LBB0_2
LBB0_20:
Lloh19:
	adrp	x8, _NF_ACCEPT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NF_ACCEPT@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_NF_ACCEPT,4,2                  ; @NF_ACCEPT
	.comm	_NF_DROP,4,2                    ; @NF_DROP
	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_NF_INET_PRE_ROUTING,4,2        ; @NF_INET_PRE_ROUTING
	.comm	_br_nf_pre_routing_finish,4,2   ; @br_nf_pre_routing_finish
	.comm	_NF_STOLEN,4,2                  ; @NF_STOLEN
	.comm	_brnf_call_ip6tables,4,2        ; @brnf_call_ip6tables
	.comm	_brnf_call_iptables,4,2         ; @brnf_call_iptables
	.no_dead_strip	_br_nf_pre_routing
.subsections_via_symbols
