	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp6000_area_init
_nfp6000_area_init:                     ## @nfp6000_area_init
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_nfp_cpp_area_priv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_NFP_CPP_ID_TARGET_of
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_NFP_CPP_ID_ACTION_of
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%r14, %rbx
	callq	_NFP_CPP_ID_TOKEN_of
	movq	%rax, %r14
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_NFP_CPP_ID
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_nfp_target_pushpull
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	movl	%r15d, %edi
	callq	_PUSH_WIDTH
	movq	%rax, 64(%r12)
	movl	%r15d, %edi
	callq	_PULL_WIDTH
	movq	%rax, 72(%r12)
	movq	64(%r12), %rcx
	testq	%rcx, %rcx
	jle	LBB0_5
## %bb.2:
	testq	%rax, %rax
	jle	LBB0_5
## %bb.3:
	cmpq	%rax, %rcx
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_6
LBB0_5:
	testq	%rcx, %rcx
	cmovgq	%rcx, %rax
	movq	%rax, 80(%r12)
	leaq	56(%r12), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_atomic_set
	movq	$0, 48(%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%r12)
	movq	%r13, 32(%r12)
	movq	%r14, 24(%r12)
	movq	%rbx, (%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r12)
	addq	$16, %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_6:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nfp6000_area_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp6000_area_init
_nfp6000_area_init:                     ; @nfp6000_area_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x24, x1
	bl	_nfp_cpp_area_priv
	mov	x21, x0
	mov	x0, x24
	bl	_NFP_CPP_ID_TARGET_of
	mov	x22, x0
	mov	x0, x24
	bl	_NFP_CPP_ID_ACTION_of
	mov	x23, x0
	mov	x0, x24
	bl	_NFP_CPP_ID_TOKEN_of
	mov	x24, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_NFP_CPP_ID
	mov	x1, x20
	bl	_nfp_target_pushpull
	mov	x25, x0
	tbnz	w0, #31, LBB0_6
; %bb.1:
	mov	x0, x25
	bl	_PUSH_WIDTH
	str	x0, [x21, #64]
	mov	x0, x25
	bl	_PULL_WIDTH
	str	x0, [x21, #72]
	ldr	x8, [x21, #64]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.2:
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.3:
	cmp	x8, x0
	b.eq	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_6
LBB0_5:
	cmp	x8, #0
	csel	x8, x8, x0, gt
	str	x8, [x21, #80]
	add	x0, x21, #56
	mov	w1, #0
	bl	_atomic_set
	stp	x22, xzr, [x21, #40]
	stp	x24, x23, [x21, #24]
	add	x0, x21, #16
	stp	x20, x19, [x21]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w25, #0
LBB0_6:
	mov	x0, x25
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nfp6000_area_init
.subsections_via_symbols
