	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function br_nf_forward_ip
_br_nf_forward_ip:                      ## @br_nf_forward_ip
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NF_ACCEPT@GOTPCREL(%rip), %r12
	cmpq	$0, 24(%rsi)
	je	LBB0_14
## %bb.1:
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rsi, %rdi
	callq	_nf_bridge_unshare
	movq	_NF_DROP@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_14
## %bb.2:
	movq	%rbx, %rdi
	callq	_bridge_parent
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	%rax, %r15
	movq	(%r13), %rbx
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	_PF_INET@GOTPCREL(%rip), %rcx
	cmpq	%rax, %rbx
	je	LBB0_11
## %bb.4:
	movq	%rcx, %rbx
	movq	%r13, %rdi
	callq	_IS_VLAN_IP
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	%rbx, %rcx
	jmp	LBB0_11
LBB0_6:
	movq	%r13, %rdi
	callq	_IS_PPPOE_IP
	testq	%rax, %rax
	movq	%rbx, %rcx
	jne	LBB0_11
## %bb.7:
	movq	(%r13), %rbx
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	_PF_INET6@GOTPCREL(%rip), %rcx
	cmpq	%rax, %rbx
	jne	LBB0_8
LBB0_11:
	movl	(%rcx), %r12d
	movq	%r13, %rdi
	callq	_nf_bridge_pull_encap_header
	movq	8(%r13), %rax
	movq	24(%r13), %rbx
	movq	_PACKET_OTHERHOST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	_PACKET_HOST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	movq	_BRNF_PKT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_13:
	movq	%r13, %rdi
	callq	_IPCB
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_BRNF_BRIDGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	movl	16(%r13), %eax
	movl	%eax, (%rbx)
	movq	_NF_INET_FORWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_bridge_parent
	movq	_br_nf_forward_finish@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	%r12d, %edi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movq	%rax, %rcx
	movq	%r15, %r8
	callq	_NF_HOOK
	movq	_NF_STOLEN@GOTPCREL(%rip), %r12
LBB0_14:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rcx, %rbx
	movq	%r13, %rdi
	callq	_IS_VLAN_IPV6
	testq	%rax, %rax
	jne	LBB0_5
## %bb.10:
	movq	%r13, %rdi
	callq	_IS_PPPOE_IPV6
	movq	_NF_ACCEPT@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	movq	%rbx, %rcx
	jne	LBB0_11
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_NF_ACCEPT,4,2                  ## @NF_ACCEPT
	.comm	_NF_DROP,4,2                    ## @NF_DROP
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_PF_INET6,4,2                   ## @PF_INET6
	.comm	_PACKET_OTHERHOST,8,3           ## @PACKET_OTHERHOST
	.comm	_PACKET_HOST,8,3                ## @PACKET_HOST
	.comm	_BRNF_PKT_TYPE,4,2              ## @BRNF_PKT_TYPE
	.comm	_BRNF_BRIDGED,4,2               ## @BRNF_BRIDGED
	.comm	_NF_INET_FORWARD,4,2            ## @NF_INET_FORWARD
	.comm	_br_nf_forward_finish,4,2       ## @br_nf_forward_finish
	.comm	_NF_STOLEN,4,2                  ## @NF_STOLEN
	.no_dead_strip	_br_nf_forward_ip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function br_nf_forward_ip
_br_nf_forward_ip:                      ; @br_nf_forward_ip
	.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
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x0, x1
	bl	_nf_bridge_unshare
	cbz	w0, LBB0_10
; %bb.2:
	mov	x0, x21
	bl	_bridge_parent
	cbz	x0, LBB0_10
; %bb.3:
	mov	x21, x0
	ldr	x22, [x19]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_IS_VLAN_IP
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_IS_PPPOE_IP
	cbz	x0, LBB0_11
LBB0_6:
Lloh3:
	adrp	x8, _PF_INET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
LBB0_7:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_nf_bridge_pull_encap_header
	ldr	x23, [x19, #24]
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _PACKET_OTHERHOST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PACKET_OTHERHOST@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh8:
	adrp	x8, _PACKET_HOST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PACKET_HOST@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh11:
	adrp	x8, _BRNF_PKT_TYPE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BRNF_PKT_TYPE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x23, #4]
	orr	w8, w9, w8
	str	w8, [x23, #4]
LBB0_9:
	mov	x0, x19
	bl	_IPCB
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh14:
	adrp	x8, _BRNF_BRIDGED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BRNF_BRIDGED@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x23, #4]
	orr	w8, w9, w8
	ldr	w9, [x19, #16]
	stp	w9, w8, [x23]
Lloh17:
	adrp	x8, _NF_INET_FORWARD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NF_INET_FORWARD@GOTPAGEOFF]
Lloh19:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_bridge_parent
	mov	x3, x0
Lloh20:
	adrp	x8, _br_nf_forward_finish@GOTPAGE
Lloh21:
	ldr	x8, [x8, _br_nf_forward_finish@GOTPAGEOFF]
Lloh22:
	ldr	w5, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	mov	x4, x21
	bl	_NF_HOOK
Lloh23:
	adrp	x8, _NF_STOLEN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NF_STOLEN@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
Lloh25:
	adrp	x8, _NF_DROP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NF_DROP@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
	ldr	x22, [x19]
Lloh27:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.eq	LBB0_14
; %bb.12:
	mov	x0, x19
	bl	_IS_VLAN_IPV6
	cbnz	x0, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_IS_PPPOE_IPV6
	cbz	x0, LBB0_15
LBB0_14:
Lloh30:
	adrp	x8, _PF_INET6@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PF_INET6@GOTPAGEOFF]
	b	LBB0_7
LBB0_15:
Lloh32:
	adrp	x8, _NF_ACCEPT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NF_ACCEPT@GOTPAGEOFF]
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_NF_ACCEPT,4,2                  ; @NF_ACCEPT
	.comm	_NF_DROP,4,2                    ; @NF_DROP
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_PF_INET6,4,2                   ; @PF_INET6
	.comm	_PACKET_OTHERHOST,8,3           ; @PACKET_OTHERHOST
	.comm	_PACKET_HOST,8,3                ; @PACKET_HOST
	.comm	_BRNF_PKT_TYPE,4,2              ; @BRNF_PKT_TYPE
	.comm	_BRNF_BRIDGED,4,2               ; @BRNF_BRIDGED
	.comm	_NF_INET_FORWARD,4,2            ; @NF_INET_FORWARD
	.comm	_br_nf_forward_finish,4,2       ; @br_nf_forward_finish
	.comm	_NF_STOLEN,4,2                  ; @NF_STOLEN
	.no_dead_strip	_br_nf_forward_ip
.subsections_via_symbols
