	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_bpf_stack_arg_ok
_nfp_bpf_stack_arg_ok:                  ## @nfp_bpf_stack_arg_ok
	.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	%rcx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdx), %rcx
	movq	_PTR_TO_STACK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movl	12(%rdx), %edi
	callq	_tnum_is_const
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	8(%rbx), %eax
	addl	12(%rbx), %eax
	movl	%eax, %ecx
	negl	%ecx
	testb	$3, %cl
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_pr_vlog
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_pr_vlog
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_pr_vlog
	jmp	LBB0_8
LBB0_6:
	movl	$1, %r15d
	testq	%r12, %r12
	je	LBB0_8
## %bb.7:
	movl	4(%r12), %ecx
	addl	8(%r12), %ecx
	xorl	%edx, %edx
	cmpl	%ecx, %eax
	setne	%dl
	orl	%edx, (%r12)
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTR_TO_STACK,8,3               ## @PTR_TO_STACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: unsupported ptr type %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: variable pointer\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: unaligned stack pointer %lld\n"

	.no_dead_strip	_nfp_bpf_stack_arg_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_bpf_stack_arg_ok
_nfp_bpf_stack_arg_ok:                  ; @nfp_bpf_stack_arg_ok
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _PTR_TO_STACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PTR_TO_STACK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x21, x3
	mov	x22, x2
	ldr	w0, [x2, #12]
	bl	_tnum_is_const
	cbz	w0, LBB0_5
; %bb.2:
	ldp	w9, w8, [x22, #8]
	add	w8, w9, w8
	neg	w9, w8
	tst	w9, #0x3
	b.eq	LBB0_8
; %bb.3:
	str	x9, [sp]
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x20
	mov	x2, x19
	bl	_pr_vlog
	mov	w0, #0
LBB0_7:
	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
	add	sp, sp, #64
	ret
LBB0_8:
	cbz	x21, LBB0_10
; %bb.9:
	ldp	w10, w9, [x21, #4]
	ldr	w11, [x21]
	add	w9, w10, w9
	cmp	w8, w9
	cset	w8, ne
	orr	w8, w11, w8
	str	w8, [x21]
LBB0_10:
	mov	w0, #1
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PTR_TO_STACK,8,3               ; @PTR_TO_STACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: unsupported ptr type %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: variable pointer\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: unaligned stack pointer %lld\n"

	.no_dead_strip	_nfp_bpf_stack_arg_ok
.subsections_via_symbols
