	.file	"extr_test_cgrp2_attach.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Dd"
.LC1:
	.string	"ingress"
.LC2:
	.string	"egress"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"Failed to open cgroup path: '%s'\n"
	.align 8
.LC4:
	.string	"bpf_prog_detach() returned '%s' (%d)\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, 1
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
.L2:
	lea	rdx, .LC0[rip]
	mov	rsi, rbx
	mov	edi, ebp
	call	getopt@PLT
	cmp	eax, -1
	je	.L17
	cmp	eax, 68
	je	.L12
	cmp	eax, 100
	je	.L13
.L8:
	mov	rdi, QWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	usage@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	mov	r13d, 1
	jmp	.L2
.L17:
	movsx	rax, DWORD PTR optind[rip]
	sub	ebp, eax
	sub	ebp, 1
	jle	.L8
	mov	rdi, QWORD PTR 8[rbx+rax*8]
	lea	rsi, .LC1[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L6
	mov	ebp, DWORD PTR BPF_CGROUP_INET_INGRESS[rip]
.L7:
	movsx	rax, DWORD PTR optind[rip]
	mov	esi, DWORD PTR O_DIRECTORY[rip]
	or	esi, DWORD PTR O_RDONLY[rip]
	mov	rdi, QWORD PTR [rbx+rax*8]
	call	open@PLT
	mov	edi, eax
	test	eax, eax
	js	.L18
	test	r13d, r13d
	je	.L11
	mov	esi, ebp
	call	bpf_prog_detach@PLT
	mov	r13d, DWORD PTR errno[rip]
	mov	r12d, eax
	mov	edi, r13d
	call	strerror@PLT
	mov	edx, r13d
	lea	rdi, .LC4[rip]
	mov	rsi, rax
	xor	eax, eax
	call	printf@PLT
.L1:
	pop	rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	pop	rcx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	esi, ebp
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	attach_filter@PLT
.L6:
	.cfi_restore_state
	movsx	rax, DWORD PTR optind[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, QWORD PTR 8[rbx+rax*8]
	call	strcmp@PLT
	test	rax, rax
	jne	.L8
	mov	ebp, DWORD PTR BPF_CGROUP_INET_EGRESS[rip]
	jmp	.L7
.L18:
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	lea	rdi, .LC3[rip]
	mov	rsi, rax
	xor	eax, eax
	call	printf@PLT
	mov	r12d, DWORD PTR EXIT_FAILURE[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	optind,4,4
	.comm	errno,4,4
	.comm	O_RDONLY,4,4
	.comm	O_DIRECTORY,4,4
	.comm	EXIT_FAILURE,4,4
	.comm	BPF_CGROUP_INET_INGRESS,4,4
	.comm	BPF_CGROUP_INET_EGRESS,4,4
	.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_test_cgrp2_attach.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Dd\000"
	.align	2
.LC1:
	.ascii	"ingress\000"
	.align	2
.LC2:
	.ascii	"egress\000"
	.align	2
.LC3:
	.ascii	"Failed to open cgroup path: '%s'\012\000"
	.align	2
.LC4:
	.ascii	"bpf_prog_detach() returned '%s' (%d)\012\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r4, r1
	mov	r6, #1
	mov	r7, #0
	ldr	r8, .L18
.L2:
	mov	r2, r8
	mov	r1, r4
	mov	r0, r5
	bl	getopt
	cmn	r0, #1
	beq	.L16
	cmp	r0, #68
	beq	.L12
	cmp	r0, #100
	beq	.L13
.L8:
	ldr	r0, [r4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	usage
.L13:
	mov	r6, #0
	b	.L2
.L12:
	mov	r7, #1
	b	.L2
.L16:
	ldr	r3, .L18+4
	ldr	r3, [r3]
	sub	r5, r5, r3
	cmp	r5, #1
	ble	.L8
	add	r3, r3, #1
	ldr	r8, [r4, r3, lsl #2]
	ldr	r1, .L18+8
	mov	r0, r8
	lsl	r5, r3, #2
	bl	strcmp
	cmp	r0, #0
	bne	.L6
	ldr	r3, .L18+12
	ldr	r8, [r3]
.L7:
	ldr	r2, .L18+16
	ldr	r3, .L18+20
	ldr	r1, [r2]
	ldr	r3, [r3]
	add	r4, r4, r5
	ldr	r0, [r4, #-4]
	orr	r1, r1, r3
	bl	open
	cmp	r0, #0
	blt	.L17
	cmp	r7, #0
	beq	.L11
	mov	r1, r8
	bl	bpf_prog_detach
	ldr	r5, .L18+24
	mov	r4, r0
	ldr	r0, [r5]
	bl	strerror
	ldr	r2, [r5]
	mov	r1, r0
	ldr	r0, .L18+28
	bl	printf
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r0, r8
	ldr	r1, .L18+32
	bl	strcmp
	cmp	r0, #0
	bne	.L8
	ldr	r3, .L18+36
	ldr	r8, [r3]
	b	.L7
.L11:
	mov	r2, r6
	mov	r1, r8
	pop	{r4, r5, r6, r7, r8, lr}
	b	attach_filter
.L17:
	ldr	r3, .L18+24
	ldr	r0, [r3]
	bl	strerror
	mov	r1, r0
	ldr	r0, .L18+40
	bl	printf
	ldr	r3, .L18+44
	ldr	r4, [r3]
	b	.L1
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	optind
	.word	.LC1
	.word	BPF_CGROUP_INET_INGRESS
	.word	O_DIRECTORY
	.word	O_RDONLY
	.word	errno
	.word	.LC4
	.word	.LC2
	.word	BPF_CGROUP_INET_EGRESS
	.word	.LC3
	.word	EXIT_FAILURE
	.size	main, .-main
	.comm	optind,4,4
	.comm	errno,4,4
	.comm	O_RDONLY,4,4
	.comm	O_DIRECTORY,4,4
	.comm	EXIT_FAILURE,4,4
	.comm	BPF_CGROUP_INET_INGRESS,4,4
	.comm	BPF_CGROUP_INET_EGRESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
