	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nsim_bpf                       ## -- Begin function nsim_bpf
	.p2align	4, 0x90
_nsim_bpf:                              ## @nsim_bpf
	.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, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_14
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_nsim_setup_prog_hw_checks
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.9:
	movq	%r14, %rdx
	addq	$4, %rdx
	jmp	LBB0_7
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_nsim_setup_prog_checks
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.6:
	movq	%r14, %rdx
	addq	$8, %rdx
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nsim_xdp_set_prog              ## TAILCALL
LBB0_4:
	addq	$4, %r14
	jmp	LBB0_3
LBB0_2:
	addq	$8, %r14
LBB0_3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xdp_attachment_query           ## TAILCALL
LBB0_13:
	movl	4(%r15), %edi
	callq	_nsim_bpf_map_free
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_10:
	cmpl	$0, (%r14)
	je	LBB0_11
## %bb.12:
	movl	4(%r15), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nsim_bpf_map_alloc             ## TAILCALL
LBB0_11:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_15:
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nsim_bpf                       ; -- Begin function nsim_bpf
	.p2align	2
_nsim_bpf:                              ; @nsim_bpf
	.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, x1
	bl	_netdev_priv
	mov	x20, x0
	bl	_ASSERT_RTNL
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_nsim_setup_prog_hw_checks
	cbnz	w0, LBB0_16
; %bb.3:
	add	x2, x20, #4
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_15
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_nsim_setup_prog_checks
	cbnz	w0, LBB0_16
; %bb.6:
	add	x2, x20, #8
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nsim_xdp_set_prog
LBB0_8:
	add	x0, x20, #4
	b	LBB0_10
LBB0_9:
	add	x0, x20, #8
LBB0_10:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xdp_attachment_query
LBB0_11:
	ldr	w0, [x19, #4]
	bl	_nsim_bpf_map_free
	mov	w0, #0
	b	LBB0_16
LBB0_12:
	ldr	w8, [x20]
	cbz	w8, LBB0_14
; %bb.13:
	ldr	w1, [x19, #4]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nsim_bpf_map_alloc
LBB0_14:
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
