	.file	"extr_kern_proc.c_fixjobc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fixjobc
	.type	fixjobc, @function
fixjobc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	r12, QWORD PTR PGRP_NULL[rip]
	mov	r13, QWORD PTR SESSION_NULL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	r15, QWORD PTR 8[rsi]
	call	proc_parent_is_currentproc@PLT
	test	rax, rax
	je	.L2
	xor	eax, eax
	call	current_proc@PLT
	cmp	QWORD PTR PROC_NULL[rip], rax
	mov	rdi, rax
	je	.L4
	mov	QWORD PTR 8[rsp], rax
	call	proc_pgrp@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	r12, rax
	call	proc_session@PLT
	mov	r13, rax
.L4:
	cmp	r12, rbx
	je	.L6
	cmp	r13, r15
	je	.L21
.L6:
	cmp	QWORD PTR SESSION_NULL[rip], r13
	je	.L9
	mov	rdi, r13
	call	session_rele@PLT
.L9:
	cmp	QWORD PTR PGRP_NULL[rip], r12
	je	.L10
	mov	rdi, r12
	call	pg_rele@PLT
.L10:
	mov	esi, DWORD PTR fixjob_callback[rip]
	lea	rdx, 16[rsp]
	mov	rdi, rbp
	mov	QWORD PTR 32[rsp], rbx
	mov	QWORD PTR 24[rsp], r15
	mov	DWORD PTR 16[rsp], r14d
	call	proc_childrenwalk@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	call	proc_parent@PLT
	cmp	rax, QWORD PTR PROC_NULL[rip]
	mov	rdi, rax
	je	.L4
	mov	QWORD PTR 8[rsp], rax
	call	proc_pgrp@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	r12, rax
	call	proc_session@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	r13, rax
	call	proc_rele@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, rbx
	call	pgrp_lock@PLT
	test	r14d, r14d
	jne	.L23
	mov	rax, QWORD PTR [rbx]
	mov	rdi, rbx
	sub	rax, 1
	mov	QWORD PTR [rbx], rax
	jne	.L8
	call	pgrp_unlock@PLT
	mov	rdi, rbx
	call	orphanpg@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	call	pgrp_unlock@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L23:
	add	QWORD PTR [rbx], 1
	mov	rdi, rbx
	call	pgrp_unlock@PLT
	jmp	.L6
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fixjobc, .-fixjobc
	.comm	fixjob_callback,4,4
	.comm	SESSION_NULL,8,8
	.comm	PROC_NULL,8,8
	.comm	PGRP_NULL,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_kern_proc.c_fixjobc.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fixjobc
	.syntax unified
	.arm
	.fpu softvfp
	.type	fixjobc, %function
fixjobc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L21
	ldr	r10, .L21+4
	ldr	fp, .L21+8
	sub	sp, sp, #28
	mov	r4, r1
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r7, r0
	ldr	r9, [r1, #4]
	ldr	r6, [r10]
	ldr	r5, [fp]
	bl	proc_parent_is_currentproc
	cmp	r0, #0
	beq	.L2
	bl	current_proc
	ldr	r2, .L21+12
	ldr	r2, [r2]
	cmp	r2, r0
	beq	.L4
	str	r0, [sp, #4]
	bl	proc_pgrp
	ldr	r3, [sp, #4]
	mov	r6, r0
	mov	r0, r3
	bl	proc_session
	mov	r5, r0
.L4:
	subs	r3, r6, r4
	movne	r3, #1
	cmp	r5, r9
	movne	r3, #0
	cmp	r3, #0
	bne	.L18
.L6:
	ldr	r3, [fp]
	cmp	r3, r5
	beq	.L9
	mov	r0, r5
	bl	session_rele
.L9:
	ldr	r3, [r10]
	cmp	r3, r6
	beq	.L10
	mov	r0, r6
	bl	pg_rele
.L10:
	ldr	r3, .L21+16
	add	r2, sp, #8
	ldr	r1, [r3]
	mov	r0, r7
	str	r4, [sp, #16]
	str	r9, [sp, #12]
	str	r8, [sp, #8]
	bl	proc_childrenwalk
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, r7
	bl	proc_parent
	ldr	r2, .L21+12
	ldr	r2, [r2]
	cmp	r0, r2
	beq	.L4
	str	r0, [sp, #4]
	bl	proc_pgrp
	ldr	r3, [sp, #4]
	mov	r6, r0
	mov	r0, r3
	bl	proc_session
	ldr	r3, [sp, #4]
	mov	r5, r0
	mov	r0, r3
	bl	proc_rele
	b	.L4
.L18:
	mov	r0, r4
	bl	pgrp_lock
	cmp	r8, #0
	ldr	r3, [r4]
	bne	.L20
	sub	r3, r3, #1
	cmp	r3, #0
	mov	r0, r4
	str	r3, [r4]
	bne	.L8
	bl	pgrp_unlock
	mov	r0, r4
	bl	orphanpg
	b	.L6
.L8:
	bl	pgrp_unlock
	b	.L6
.L20:
	add	r3, r3, #1
	mov	r0, r4
	str	r3, [r4]
	bl	pgrp_unlock
	b	.L6
.L19:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	PGRP_NULL
	.word	SESSION_NULL
	.word	PROC_NULL
	.word	fixjob_callback
	.size	fixjobc, .-fixjobc
	.comm	fixjob_callback,4,4
	.comm	SESSION_NULL,4,4
	.comm	PROC_NULL,4,4
	.comm	PGRP_NULL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
