	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipfw_nat_cfg
_ipfw_nat_cfg:                          ## @ipfw_nat_cfg
	.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	%rdi, %r15
	movq	(%rdi), %r12
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_roundup2
	leaq	(%r12,%rax), %rdi
	addq	$128, %rdi
	movq	_M_TEMP@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movl	$24, %ecx
	callq	_sooptcopyin
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.1:
	cmpq	$0, (%r14)
	js	LBB0_2
## %bb.3:
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_roundup2
	movq	%rax, %r15
	movl	16(%r14,%rax), %edi
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movl	12(%r14,%r15), %edi
	movl	20(%r14), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	16(%r14), %eax
	movl	%eax, 8(%r14,%r15)
	movl	12(%r14), %eax
	movl	%eax, 4(%r14,%r15)
	movslq	8(%r14), %rax
	movl	%eax, (%r14,%r15)
	imulq	$44, %rax, %rcx
	addq	$24, %rcx
	cmpq	%rcx, %r12
	jae	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_11
LBB0_4:
	addq	%rbx, %r15
	testl	%eax, %eax
	jle	LBB0_10
## %bb.5:
	addq	$24, %rbx
	leaq	20(%r15), %rcx
	cmpl	$1, %eax
	je	LBB0_8
## %bb.6:
	movl	%eax, %edx
	andl	$-2, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	40(%rbx), %esi
	movl	%esi, 40(%rcx)
	movl	36(%rbx), %esi
	movl	%esi, 36(%rcx)
	movl	32(%rbx), %esi
	movl	%esi, 32(%rcx)
	movups	16(%rbx), %xmm0
	movups	%xmm0, 16(%rcx)
	movups	(%rbx), %xmm0
	movups	%xmm0, (%rcx)
	movl	84(%rbx), %esi
	movl	%esi, 84(%rcx)
	movl	80(%rbx), %esi
	movl	%esi, 80(%rcx)
	movl	76(%rbx), %esi
	movl	%esi, 76(%rcx)
	movups	60(%rbx), %xmm0
	movups	%xmm0, 60(%rcx)
	movups	44(%rbx), %xmm0
	movups	%xmm0, 44(%rcx)
	addq	$88, %rcx
	addq	$88, %rbx
	addl	$-2, %edx
	jne	LBB0_7
LBB0_8:
	testb	$1, %al
	je	LBB0_10
## %bb.9:
	movl	40(%rbx), %eax
	movl	%eax, 40(%rcx)
	movl	36(%rbx), %eax
	movl	%eax, 36(%rcx)
	movl	32(%rbx), %eax
	movl	%eax, 32(%rcx)
	movups	16(%rbx), %xmm0
	movups	%xmm0, 16(%rcx)
	movups	(%rbx), %xmm0
	movups	%xmm0, (%rcx)
LBB0_10:
	movq	_V_layer3_chain@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	callq	_nat44_config
	xorl	%r15d, %r15d
LBB0_11:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_free
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_TEMP,4,2                     ## @M_TEMP
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_V_layer3_chain,4,2             ## @V_layer3_chain
	.no_dead_strip	_ipfw_nat_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipfw_nat_cfg
_ipfw_nat_cfg:                          ; @ipfw_nat_cfg
	.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	x21, x0
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #8
	bl	_roundup2
	add	x8, x20, x0
	add	x0, x8, #128
Lloh0:
	adrp	x23, _M_TEMP@GOTPAGE
Lloh1:
	ldr	x23, [x23, _M_TEMP@GOTPAGEOFF]
Lloh2:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_malloc
	mov	x19, x0
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	w3, #24
	bl	_sooptcopyin
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	x8, [x19]
	tbnz	x8, #63, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	w1, #8
	bl	_roundup2
	mov	x22, x0
	add	x21, x19, x0
	ldr	w0, [x21, #16]
	ldr	x3, [x19]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	ldr	w0, [x21, #12]
	ldr	w1, [x19, #20]
	mov	w2, #4
	bl	_strlcpy
	ldr	w8, [x19, #16]
	str	w8, [x21, #8]
	ldr	d0, [x19, #8]
	str	d0, [x21]
	fmov	w8, s0
	mov	w9, #44
	smull	x9, w8, w9
	add	x9, x9, #24
	cmp	x20, x9
	b.hs	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	b	LBB0_8
LBB0_4:
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	add	x9, x19, #64
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	add	x11, x9, x22
	stur	w10, [x11, #-4]
	ldur	d0, [x9, #-8]
	stur	d0, [x11, #-12]
	ldur	q0, [x9, #-24]
	stur	q0, [x11, #-28]
	ldur	q0, [x9, #-40]
	stur	q0, [x11, #-44]
	add	x9, x9, #44
	subs	w8, w8, #1
	b.ne	LBB0_6
LBB0_7:
Lloh13:
	adrp	x0, _V_layer3_chain@GOTPAGE
Lloh14:
	ldr	x0, [x0, _V_layer3_chain@GOTPAGEOFF]
	mov	x1, x21
	bl	_nat44_config
	mov	w21, #0
LBB0_8:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_free
	mov	x0, x21
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_M_TEMP,4,2                     ; @M_TEMP
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_V_layer3_chain,4,2             ; @V_layer3_chain
	.no_dead_strip	_ipfw_nat_cfg
.subsections_via_symbols
