	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nat64lsn_create_job
_nat64lsn_create_job:                   ## @nat64lsn_create_job
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	cmpq	8(%rdi), %rax
	jge	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	movq	_nat64lsn_job_zone@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_uma_zalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movl	%r14d, (%rax)
	movq	$0, 8(%rax)
	jmp	LBB0_6
LBB0_1:
	movq	_jmaxlen@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_jnomem@GOTPCREL(%rip), %rax
LBB0_4:
	addq	$16, %rbx
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_NAT64STAT_INC
	movq	_dropped@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_NAT64STAT_INC
	movq	_DP_DROPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DPRINTF
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jmaxlen,4,2                    ## @jmaxlen
	.comm	_nat64lsn_job_zone,4,2          ## @nat64lsn_job_zone
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_jnomem,4,2                     ## @jnomem
	.comm	_dropped,4,2                    ## @dropped
	.comm	_DP_DROPS,4,2                   ## @DP_DROPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to create job"

	.no_dead_strip	_nat64lsn_create_job
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nat64lsn_create_job
_nat64lsn_create_job:                   ; @nat64lsn_create_job
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x8, _nat64lsn_job_zone@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nat64lsn_job_zone@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_uma_zalloc
	cbz	x0, LBB0_4
; %bb.2:
	str	w20, [x0]
	str	xzr, [x0, #8]
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _jmaxlen@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jmaxlen@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _jnomem@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jnomem@GOTPAGEOFF]
LBB0_5:
	add	x19, x19, #16
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NAT64STAT_INC
Lloh10:
	adrp	x8, _dropped@GOTPAGE
Lloh11:
	ldr	x8, [x8, _dropped@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NAT64STAT_INC
Lloh13:
	adrp	x8, _DP_DROPS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DP_DROPS@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DPRINTF
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_jmaxlen,4,2                    ; @jmaxlen
	.comm	_nat64lsn_job_zone,4,2          ; @nat64lsn_job_zone
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_jnomem,4,2                     ; @jnomem
	.comm	_dropped,4,2                    ; @dropped
	.comm	_DP_DROPS,4,2                   ; @DP_DROPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to create job"

	.no_dead_strip	_nat64lsn_create_job
.subsections_via_symbols
