	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nat44_get_log
_nat44_get_log:                         ## @nat44_get_log
	.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
	cmpq	$19, (%rdx)
	jbe	LBB0_3
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movl	$20, %esi
	movq	%rdx, %rdi
	callq	_ipfw_get_sopt_header
	cmpl	$4, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	%rax, %r15
	movl	12(%rax), %edi
	movl	$4, %esi
	callq	_strnlen
	cmpl	$4, %eax
	jne	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r14, %rdi
	callq	_IPFW_UH_RLOCK
	movl	12(%r15), %esi
	movq	%r14, %rdi
	callq	_lookup_nat_name
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%rax, %r12
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.8:
	addq	$4, %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_export_nat_cfg
	movq	_LIBALIAS_BUF_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	addq	$16, %rax
	movq	%rax, (%r15)
	cmpq	$23, (%rbx)
	ja	LBB0_12
## %bb.9:
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_10:
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
	movq	_ESRCH@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_11:
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_12:
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	_ipfw_get_sopt_space
	movq	(%r12), %rcx
	movq	(%rcx), %rsi
	movq	(%r13), %rdx
	movq	%rax, %rdi
	callq	_memcpy
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
	xorl	%eax, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_LIBALIAS_BUF_SIZE,8,3          ## @LIBALIAS_BUF_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_nat44_get_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nat44_get_log
_nat44_get_log:                         ; @nat44_get_log
	.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, [x2]
	cmp	x8, #19
	b.ls	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	mov	x0, x2
	mov	w1, #20
	bl	_ipfw_get_sopt_header
	ldr	w8, [x0]
	cmp	w8, #4
	b.ne	LBB0_3
; %bb.2:
	mov	x21, x0
	ldr	w0, [x0, #12]
	mov	w1, #4
	bl	_strnlen
	cmp	w0, #4
	b.ne	LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
LBB0_5:
	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
LBB0_6:
	mov	x0, x19
	bl	_IPFW_UH_RLOCK
	ldr	w1, [x21, #12]
	mov	x0, x19
	bl	_lookup_nat_name
	cbz	x0, LBB0_10
; %bb.7:
	mov	x22, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.8:
	add	x21, x21, #4
	mov	x0, x22
	mov	x1, x21
	bl	_export_nat_cfg
Lloh2:
	adrp	x23, _LIBALIAS_BUF_SIZE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _LIBALIAS_BUF_SIZE@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x8, x8, #16
	str	x8, [x21]
	ldr	x8, [x20]
	cmp	x8, #23
	b.hi	LBB0_12
; %bb.9:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
Lloh6:
	adrp	x8, _ESRCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
	b	LBB0_4
LBB0_11:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
Lloh8:
	adrp	x8, _ENOENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_4
LBB0_12:
	ldr	x1, [x23]
	mov	x0, x20
	bl	_ipfw_get_sopt_space
	ldr	x8, [x22]
	ldr	x1, [x8]
	ldr	x2, [x23]
	bl	_memcpy
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_LIBALIAS_BUF_SIZE,8,3          ; @LIBALIAS_BUF_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_nat44_get_log
.subsections_via_symbols
