	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mem_ldx
_mem_ldx:                               ## @mem_ldx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpq	$0, 40(%rsi)
	je	LBB0_1
## %bb.13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_cpp_memcpy                 ## TAILCALL
LBB0_1:
	movl	%edx, %r14d
	movq	(%rbx), %rax
	movq	_PTR_TO_CTX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	(%r15), %rax
	movq	_BPF_PROG_TYPE_XDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.14:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mem_ldx_xdp                    ## TAILCALL
LBB0_4:
	movq	_PTR_TO_PACKET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:
	cmpq	$0, 32(%rbx)
	je	LBB0_9
## %bb.6:
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mem_ldx_data_init_pktcache
LBB0_8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mem_ldx_data_from_pktcache     ## TAILCALL
LBB0_3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mem_ldx_skb                    ## TAILCALL
LBB0_10:
	movq	_PTR_TO_STACK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.15:
	movq	8(%rbx), %rcx
	addq	16(%rbx), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mem_ldx_stack                  ## TAILCALL
LBB0_11:
	movq	_PTR_TO_MAP_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.16:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mem_ldx_emem                   ## TAILCALL
LBB0_9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mem_ldx_data                   ## TAILCALL
LBB0_12:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTR_TO_CTX,8,3                 ## @PTR_TO_CTX
	.comm	_BPF_PROG_TYPE_XDP,8,3          ## @BPF_PROG_TYPE_XDP
	.comm	_PTR_TO_PACKET,8,3              ## @PTR_TO_PACKET
	.comm	_PTR_TO_STACK,8,3               ## @PTR_TO_STACK
	.comm	_PTR_TO_MAP_VALUE,8,3           ## @PTR_TO_MAP_VALUE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_mem_ldx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mem_ldx
_mem_ldx:                               ; @mem_ldx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	ldr	x8, [x1, #40]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nfp_cpp_memcpy
LBB0_2:
	mov	x19, x2
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PTR_TO_CTX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PTR_TO_CTX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _BPF_PROG_TYPE_XDP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BPF_PROG_TYPE_XDP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mem_ldx_xdp
LBB0_5:
Lloh6:
	adrp	x9, _PTR_TO_PACKET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PTR_TO_PACKET@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_15
; %bb.7:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x20
	bl	_mem_ldx_data_init_pktcache
LBB0_9:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mem_ldx_data_from_pktcache
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mem_ldx_skb
LBB0_11:
Lloh9:
	adrp	x9, _PTR_TO_STACK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PTR_TO_STACK@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	ldp	x9, x8, [x20, #8]
	add	x3, x9, x8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mem_ldx_stack
LBB0_13:
Lloh12:
	adrp	x9, _PTR_TO_MAP_VALUE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PTR_TO_MAP_VALUE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.14:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mem_ldx_emem
LBB0_15:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mem_ldx_data
LBB0_16:
Lloh15:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PTR_TO_CTX,8,3                 ; @PTR_TO_CTX
	.comm	_BPF_PROG_TYPE_XDP,8,3          ; @BPF_PROG_TYPE_XDP
	.comm	_PTR_TO_PACKET,8,3              ; @PTR_TO_PACKET
	.comm	_PTR_TO_STACK,8,3               ; @PTR_TO_STACK
	.comm	_PTR_TO_MAP_VALUE,8,3           ; @PTR_TO_MAP_VALUE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_mem_ldx
.subsections_via_symbols
