	.file	"extr_syscall.c_bpf_raw_tracepoint_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bpf-raw-tracepoint"
	.text
	.p2align 4
	.type	bpf_raw_tracepoint_open, @function
bpf_raw_tracepoint_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 152
	.cfi_def_cfa_offset 192
	mov	edi, DWORD PTR 4[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	call	u64_to_user_ptr@PLT
	mov	edx, 127
	mov	rdi, rbp
	mov	esi, eax
	call	strncpy_from_user@PLT
	test	rax, rax
	js	.L14
	mov	rdi, rbp
	mov	BYTE PTR 127[rsp], 0
	call	bpf_get_raw_tracepoint@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L15
	mov	esi, DWORD PTR GFP_USER[rip]
	mov	edi, 16
	call	kzalloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L16
	mov	QWORD PTR [rax], rbp
	mov	edi, DWORD PTR [r12]
	call	bpf_prog_get@PLT
	mov	rdi, rax
	mov	r14, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR [r14]
	cmp	rax, QWORD PTR BPF_PROG_TYPE_RAW_TRACEPOINT[rip]
	je	.L9
	cmp	rax, QWORD PTR BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE[rip]
	je	.L9
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L10:
	mov	rdi, r14
	call	bpf_prog_put@PLT
.L8:
	mov	rdi, r13
	call	kfree@PLT
.L6:
	mov	rdi, rbp
	call	bpf_put_raw_tracepoint@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r12d, DWORD PTR EFAULT[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 152
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR 0[r13]
	mov	rsi, r14
	call	bpf_probe_register@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	mov	QWORD PTR 8[r13], r14
	mov	ecx, DWORD PTR O_CLOEXEC[rip]
	mov	rdx, r13
	lea	rsi, bpf_raw_tp_fops[rip]
	lea	rdi, .LC0[rip]
	call	anon_inode_getfd@PLT
	mov	r12d, eax
	test	eax, eax
	jns	.L1
	mov	rdi, QWORD PTR 0[r13]
	mov	rsi, r14
	call	bpf_probe_unregister@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L16:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r14
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L8
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bpf_raw_tracepoint_open, .-bpf_raw_tracepoint_open
	.comm	bpf_raw_tp_fops,4,4
	.comm	O_CLOEXEC,4,4
	.comm	GFP_USER,4,4
	.comm	ENOMEM,4,4
	.comm	ENOENT,4,4
	.comm	EINVAL,4,4
	.comm	EFAULT,4,4
	.comm	BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE,8,8
	.comm	BPF_PROG_TYPE_RAW_TRACEPOINT,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_syscall.c_bpf_raw_tracepoint_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bpf-raw-tracepoint\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bpf_raw_tracepoint_open, %function
bpf_raw_tracepoint_open:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L19
	sub	sp, sp, #140
	mov	r4, r0
	ldr	r0, [r0, #4]
	ldr	r3, [r3]
	str	r3, [sp, #132]
	mov	r3,#0
	bl	u64_to_user_ptr
	mov	r2, #127
	mov	r1, r0
	add	r0, sp, #4
	bl	strncpy_from_user
	cmp	r0, #0
	blt	.L14
	mov	r3, #0
	add	r0, sp, #4
	strb	r3, [sp, #131]
	bl	bpf_get_raw_tracepoint
	subs	r5, r0, #0
	beq	.L15
	ldr	r3, .L19+4
	mov	r0, #8
	ldr	r1, [r3]
	bl	kzalloc
	subs	r7, r0, #0
	beq	.L16
	ldr	r0, [r4]
	str	r5, [r7]
	bl	bpf_prog_get
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L17
	ldr	r2, .L19+8
	ldr	r3, [r6]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L9
	ldr	r2, .L19+12
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L9
	ldr	r3, .L19+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L10:
	mov	r0, r6
	bl	bpf_prog_put
.L8:
	mov	r0, r7
	bl	kfree
.L6:
	mov	r0, r5
	bl	bpf_put_raw_tracepoint
	b	.L1
.L14:
	ldr	r3, .L19+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #132]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r4
	add	sp, sp, #140
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L15:
	ldr	r3, .L19+24
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L9:
	mov	r1, r6
	ldr	r0, [r7]
	bl	bpf_probe_register
	subs	r4, r0, #0
	bne	.L10
	ldr	r3, .L19+28
	mov	r2, r7
	ldr	r3, [r3]
	ldr	r1, .L19+32
	ldr	r0, .L19+36
	str	r6, [r7, #4]
	bl	anon_inode_getfd
	subs	r4, r0, #0
	bge	.L1
	mov	r1, r6
	ldr	r0, [r7]
	bl	bpf_probe_unregister
	b	.L10
.L16:
	ldr	r3, .L19+40
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L6
.L17:
	mov	r0, r6
	bl	PTR_ERR
	mov	r4, r0
	b	.L8
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC1
	.word	GFP_USER
	.word	BPF_PROG_TYPE_RAW_TRACEPOINT
	.word	BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE
	.word	EINVAL
	.word	EFAULT
	.word	ENOENT
	.word	O_CLOEXEC
	.word	bpf_raw_tp_fops
	.word	.LC0
	.word	ENOMEM
	.size	bpf_raw_tracepoint_open, .-bpf_raw_tracepoint_open
	.comm	bpf_raw_tp_fops,4,4
	.comm	O_CLOEXEC,4,4
	.comm	GFP_USER,4,4
	.comm	ENOMEM,4,4
	.comm	ENOENT,4,4
	.comm	EINVAL,4,4
	.comm	EFAULT,4,4
	.comm	BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE,4,4
	.comm	BPF_PROG_TYPE_RAW_TRACEPOINT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
