	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nat44_config
_nat44_config:                          ## @nat44_config
	.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	%rsi, %r12
	movq	%rdi, %r15
	callq	_IPFW_UH_WLOCK
	movl	(%r15), %r13d
	leaq	4(%r15), %r14
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_lookup_nat_name
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_IPFW_WLOCK
	movq	__next@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LIST_REMOVE
	movl	24(%rbx), %esi
	movq	%r15, %rdi
	callq	_flush_nat_ptrs
	movq	%r15, %rdi
	callq	_IPFW_WUNLOCK
	movq	%r15, %rdi
	callq	_IPFW_UH_WUNLOCK
	jmp	LBB0_3
LBB0_1:
	movq	%r15, %rdi
	callq	_IPFW_UH_WUNLOCK
	movq	_M_IPFW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$28, %edi
	callq	_malloc
	movq	%rax, %rbx
	xorl	%edi, %edi
	callq	_LibAliasInit
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_LIST_INIT
LBB0_3:
	movl	(%r12), %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, 24(%rbx)
	movl	16(%r12), %eax
	movl	%eax, 4(%rbx)
	movl	12(%r12), %eax
	movl	%eax, 20(%rbx)
	movl	8(%r12), %eax
	movl	%eax, 12(%rbx)
	movl	16(%rbx), %edi
	movl	4(%r12), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	8(%rbx), %edi
	movl	12(%rbx), %esi
	movl	$-1, %edx
	callq	_LibAliasSetMode
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	callq	_LibAliasSetAddress
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_del_redir_spool_cfg
	leaq	20(%r12), %rdi
	movq	%rbx, %rsi
	callq	_add_redir_spool_cfg
	movq	%r15, %rdi
	callq	_IPFW_UH_WLOCK
	cmpl	(%r15), %r13d
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_IPFW_WLOCK
	jmp	LBB0_5
LBB0_6:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_lookup_nat_name
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_IPFW_WLOCK
	testq	%r12, %r12
	je	LBB0_5
## %bb.7:
	movq	__next@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_LIST_REMOVE
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_LIST_INSERT_HEAD
	movq	%r15, %rdi
	callq	_IPFW_WUNLOCK
	incl	(%r15)
	movq	%r15, %rdi
	callq	_IPFW_UH_WUNLOCK
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_nat_instance              ## TAILCALL
LBB0_5:
	movq	__next@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_LIST_INSERT_HEAD
	movq	%r15, %rdi
	callq	_IPFW_WUNLOCK
	incl	(%r15)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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
	.comm	__next,4,2                      ## @_next
	.no_dead_strip	_nat44_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nat44_config
_nat44_config:                          ; @nat44_config
	.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	x22, x1
	mov	x19, x0
	bl	_IPFW_UH_WLOCK
	mov	x20, x19
	ldr	w24, [x20], #4
	ldr	w1, [x22]
	mov	x0, x20
	bl	_lookup_nat_name
Lloh0:
	adrp	x23, __next@GOTPAGE
Lloh1:
	ldr	x23, [x23, __next@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	bl	_IPFW_WLOCK
	ldr	w1, [x23]
	mov	x0, x21
	bl	_LIST_REMOVE
	ldr	w1, [x21, #24]
	mov	x0, x19
	bl	_flush_nat_ptrs
	mov	x0, x19
	bl	_IPFW_WUNLOCK
	mov	x0, x19
	bl	_IPFW_UH_WUNLOCK
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_IPFW_UH_WUNLOCK
Lloh2:
	adrp	x8, _M_IPFW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_IPFW@GOTPAGEOFF]
Lloh4:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #28
	bl	_malloc
	mov	x21, x0
	mov	x0, #0
	bl	_LibAliasInit
	str	w0, [x21, #8]
	mov	x0, x21
	bl	_LIST_INIT
LBB0_3:
	ldr	w0, [x22]
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	ldp	w9, w8, [x22, #12]
	str	w8, [x21, #4]
	stp	w9, w0, [x21, #20]
	ldp	w1, w8, [x22, #4]
	str	w8, [x21, #12]
	ldr	w0, [x21, #16]
	mov	w2, #4
	bl	_strlcpy
	ldp	w0, w1, [x21, #8]
	mov	w2, #-1
	bl	_LibAliasSetMode
	ldp	w1, w0, [x21, #4]
	bl	_LibAliasSetAddress
	mov	x0, x21
	mov	x1, x21
	bl	_del_redir_spool_cfg
	add	x0, x22, #20
	mov	x1, x21
	bl	_add_redir_spool_cfg
	mov	x0, x19
	bl	_IPFW_UH_WLOCK
	ldr	w8, [x19]
	cmp	w24, w8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_IPFW_WLOCK
	b	LBB0_7
LBB0_5:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_lookup_nat_name
	mov	x22, x0
	mov	x0, x19
	bl	_IPFW_WLOCK
	cbz	x22, LBB0_7
; %bb.6:
	ldr	w1, [x23]
	mov	x0, x22
	bl	_LIST_REMOVE
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x21
	bl	_LIST_INSERT_HEAD
	mov	x0, x19
	bl	_IPFW_WUNLOCK
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_IPFW_UH_WUNLOCK
	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
	b	_free_nat_instance
LBB0_7:
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x21
	bl	_LIST_INSERT_HEAD
	mov	x0, x19
	bl	_IPFW_WUNLOCK
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	x0, x19
	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	_IPFW_UH_WUNLOCK
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.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
	.comm	__next,4,2                      ; @_next
	.no_dead_strip	_nat44_config
.subsections_via_symbols
