	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_init_skipto_cache         ## -- Begin function ipfw_init_skipto_cache
	.p2align	4, 0x90
_ipfw_init_skipto_cache:                ## @ipfw_init_skipto_cache
	.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	%rdi, %rbx
	movq	_M_IPFW@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %r15
	movq	_M_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r15), %edx
	movl	$262144, %edi                   ## imm = 0x40000
	callq	_malloc
	movq	%rax, %r14
	movl	(%r12), %esi
	movl	(%r15), %edx
	movl	$262144, %edi                   ## imm = 0x40000
	callq	_malloc
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_IPFW_UH_WLOCK
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_IPFW_UH_WUNLOCK
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_free
	movl	(%r12), %esi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_2:
	movq	%r15, 8(%rbx)
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_update_skipto_cache
	movq	%rbx, %rdi
	callq	_IPFW_WLOCK
	movq	%r14, (%rbx)
	movq	%rbx, %rdi
	callq	_swap_skipto_cache
	movq	%rbx, %rdi
	callq	_IPFW_WUNLOCK
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IPFW_UH_WUNLOCK                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_M_IPFW,4,2                     ## @M_IPFW
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_init_skipto_cache         ; -- Begin function ipfw_init_skipto_cache
	.p2align	2
_ipfw_init_skipto_cache:                ; @ipfw_init_skipto_cache
	.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	x19, x0
Lloh0:
	adrp	x22, _M_IPFW@GOTPAGE
Lloh1:
	ldr	x22, [x22, _M_IPFW@GOTPAGEOFF]
Lloh2:
	adrp	x21, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _M_WAITOK@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w8, [x21]
Lloh4:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh5:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #262144
	bl	_malloc
	mov	x20, x0
	ldr	w1, [x22]
	ldr	w2, [x21]
	mov	w0, #262144
	bl	_malloc
	mov	x21, x0
	mov	x0, x19
	bl	_IPFW_UH_WLOCK
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_IPFW_UH_WUNLOCK
	ldr	w1, [x22]
	mov	x0, x20
	bl	_free
	ldr	w1, [x22]
	mov	x0, x21
	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	_free
LBB0_2:
	str	x21, [x19, #8]
	ldr	w1, [x19, #16]
	mov	x0, x19
	bl	_update_skipto_cache
	mov	x0, x19
	bl	_IPFW_WLOCK
	str	x20, [x19]
	mov	x0, x19
	bl	_swap_skipto_cache
	mov	x0, x19
	bl	_IPFW_WUNLOCK
	mov	x0, x19
	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	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IPFW,4,2                     ; @M_IPFW
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
.subsections_via_symbols
