	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipfw_kifhandler
_ipfw_kifhandler:                       ## @ipfw_kifhandler
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_V_ipfw_vnet_ready@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_V_layer3_chain@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_IPFW_UH_WLOCK
	movq	%rbx, %rdi
	callq	_CHAIN_TO_II
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_if_name
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_ipfw_objhash_lookup_name
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movl	(%r15), %edx
	movq	_V_layer3_chain@GOTPCREL(%rip), %rdi
	movq	%rax, %rsi
	cmpq	$1, %r14
	je	LBB0_4
## %bb.5:
	callq	_handle_ifdetach
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	_handle_ifattach
LBB0_6:
	movq	_V_layer3_chain@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IPFW_UH_WUNLOCK                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ipfw_vnet_ready,8,3          ## @V_ipfw_vnet_ready
	.comm	_V_layer3_chain,4,2             ## @V_layer3_chain
	.no_dead_strip	_ipfw_kifhandler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipfw_kifhandler
_ipfw_kifhandler:                       ; @ipfw_kifhandler
	.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
Lloh0:
	adrp	x8, _V_ipfw_vnet_ready@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_ipfw_vnet_ready@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh3:
	adrp	x21, _V_layer3_chain@GOTPAGE
Lloh4:
	ldr	x21, [x21, _V_layer3_chain@GOTPAGEOFF]
	mov	x0, x21
	bl	_IPFW_UH_WLOCK
	mov	x0, x21
	bl	_CHAIN_TO_II
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	mov	x0, x20
	bl	_if_name
	mov	x2, x0
	mov	x0, x21
	mov	w1, #0
	bl	_ipfw_objhash_lookup_name
	cbz	x0, LBB0_7
; %bb.3:
	mov	x1, x0
	ldr	w2, [x20]
Lloh5:
	adrp	x0, _V_layer3_chain@GOTPAGE
Lloh6:
	ldr	x0, [x0, _V_layer3_chain@GOTPAGEOFF]
	cmp	x19, #1
	b.eq	LBB0_6
; %bb.4:
	bl	_handle_ifdetach
	b	LBB0_7
LBB0_5:
	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_6:
	bl	_handle_ifattach
LBB0_7:
Lloh7:
	adrp	x0, _V_layer3_chain@GOTPAGE
Lloh8:
	ldr	x0, [x0, _V_layer3_chain@GOTPAGEOFF]
	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
	b	_IPFW_UH_WUNLOCK
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ipfw_vnet_ready,8,3          ; @V_ipfw_vnet_ready
	.comm	_V_layer3_chain,4,2             ; @V_layer3_chain
	.no_dead_strip	_ipfw_kifhandler
.subsections_via_symbols
