	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lb_bpf_func_set
_lb_bpf_func_set:                       ## @lb_bpf_func_set
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_get_lb_priv
	movq	%rax, %r14
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movl	4(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %edx
	leaq	-40(%rbp), %rdi
	callq	___fprog_create
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	movq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdi
	callq	_bpf_prog_create
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movq	-40(%rbp), %rdi
	callq	___fprog_destroy
	jmp	LBB0_9
LBB0_4:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:
	callq	___fprog_destroy
	movl	8(%r14), %r12d
	movq	%r15, %rdi
	callq	_lockdep_is_held
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_protected
	movq	%rax, %r15
	jmp	LBB0_7
LBB0_5:
	xorl	%r15d, %r15d
LBB0_7:
	movl	8(%r14), %edi
	movq	-48(%rbp), %rsi
	callq	_rcu_assign_pointer
	movq	-40(%rbp), %rax
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_synchronize_rcu
	movq	%r15, %rdi
	callq	_bpf_prog_destroy
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lb_bpf_func_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lb_bpf_func_set
_lb_bpf_func_set:                       ; @lb_bpf_func_set
	.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	x21, x1
	mov	x20, x0
	bl	_get_lb_priv
	mov	x19, x0
	stp	xzr, xzr, [sp]
	ldr	w1, [x21, #4]
	cbz	w1, LBB0_4
; %bb.1:
	ldr	w2, [x21]
	mov	x0, sp
	bl	___fprog_create
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.2:
	ldr	x1, [sp]
	add	x0, sp, #8
	bl	_bpf_prog_create
	cbz	w0, LBB0_4
; %bb.3:
	mov	x21, x0
	ldr	x0, [sp]
	bl	___fprog_destroy
	b	LBB0_10
LBB0_4:
	ldr	x8, [x19]
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	___fprog_destroy
	ldr	w21, [x19, #8]
	mov	x0, x20
	bl	_lockdep_is_held
	mov	x1, x0
	mov	x0, x21
	bl	_rcu_dereference_protected
	mov	x20, x0
	b	LBB0_7
LBB0_6:
	mov	x20, #0
LBB0_7:
	ldr	w0, [x19, #8]
	ldr	x1, [sp, #8]
	bl	_rcu_assign_pointer
	ldr	x8, [sp]
	ldr	x9, [x19]
	str	x8, [x9]
	cbz	x20, LBB0_9
; %bb.8:
	bl	_synchronize_rcu
	mov	x0, x20
	bl	_bpf_prog_destroy
LBB0_9:
	mov	w21, #0
LBB0_10:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lb_bpf_func_set
.subsections_via_symbols
