	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nsim_bpf_dev_init              ## -- Begin function nsim_bpf_dev_init
	.p2align	4, 0x90
_nsim_bpf_dev_init:                     ## @nsim_bpf_dev_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$24, %rdi
	callq	_INIT_LIST_HEAD
	leaq	20(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movl	8(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_debugfs_create_dir
	movl	%eax, 16(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	movq	_nsim_bpf_dev_ops@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_bpf_offload_dev_create
	movl	%eax, 12(%rbx)
	movl	%eax, %edi
	callq	_PTR_ERR_OR_ZERO
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	$1, (%rbx)
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	$384, %esi                      ## imm = 0x180
	movq	%rbx, %rcx
	callq	_debugfs_create_bool
	movl	8(%rbx), %edx
	addq	$4, %rbx
	leaq	L_.str.2(%rip), %rdi
	movl	$384, %esi                      ## imm = 0x180
	movq	%rbx, %rcx
	callq	_debugfs_create_u32
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bpf_bound_progs"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nsim_bpf_dev_ops,4,2           ## @nsim_bpf_dev_ops
L_.str.1:                               ## @.str.1
	.asciz	"bpf_bind_accept"

L_.str.2:                               ## @.str.2
	.asciz	"bpf_bind_verifier_delay"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nsim_bpf_dev_init              ; -- Begin function nsim_bpf_dev_init
	.p2align	2
_nsim_bpf_dev_init:                     ; @nsim_bpf_dev_init
	.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
	add	x0, x0, #24
	bl	_INIT_LIST_HEAD
	add	x0, x19, #20
	bl	_INIT_LIST_HEAD
	ldr	w1, [x19, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debugfs_create_dir
	str	w0, [x19, #16]
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x0, _nsim_bpf_dev_ops@GOTPAGE
Lloh6:
	ldr	x0, [x0, _nsim_bpf_dev_ops@GOTPAGEOFF]
	mov	x1, x19
	bl	_bpf_offload_dev_create
	str	w0, [x19, #12]
	bl	_PTR_ERR_OR_ZERO
	cbnz	w0, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19]
	ldr	w2, [x19, #8]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #384
	mov	x3, x19
	bl	_debugfs_create_bool
	ldr	w2, [x19, #8]
	add	x3, x19, #4
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #384
	bl	_debugfs_create_u32
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bpf_bound_progs"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nsim_bpf_dev_ops,4,2           ; @nsim_bpf_dev_ops
l_.str.1:                               ; @.str.1
	.asciz	"bpf_bind_accept"

l_.str.2:                               ; @.str.2
	.asciz	"bpf_bind_verifier_delay"

.subsections_via_symbols
