	.file	"extr_freezer.c_freeze_task.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	freeze_task
	.type	freeze_task, @function
freeze_task:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	call	freezing@PLT
	test	eax, eax
	jne	.L2
	call	rmb@PLT
	mov	rdi, rbp
	call	frozen@PLT
	test	rax, rax
	jne	.L7
	test	ebx, ebx
	jne	.L5
	mov	rdi, rbp
	call	set_freeze_flag@PLT
.L2:
	mov	rdi, rbp
	call	should_send_signal@PLT
	test	rax, rax
	jne	.L13
	test	ebx, ebx
	je	.L14
.L7:
	xor	r12d, r12d
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, DWORD PTR TASK_INTERRUPTIBLE[rip]
	mov	rdi, rbp
	mov	r12d, 1
	call	wake_up_state@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	mov	r12d, 1
	call	signal_pending@PLT
	test	eax, eax
	jne	.L1
	mov	rdi, rbp
	call	fake_signal_wake_up@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	call	should_send_signal@PLT
	test	rax, rax
	je	.L7
	mov	rdi, rbp
	call	set_freeze_flag@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	freeze_task, .-freeze_task
	.comm	TASK_INTERRUPTIBLE,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_freezer.c_freeze_task.c"
	.text
	.align	2
	.global	freeze_task
	.syntax unified
	.arm
	.fpu softvfp
	.type	freeze_task, %function
freeze_task:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	bl	freezing
	cmp	r0, #0
	bne	.L2
	bl	rmb
	mov	r0, r4
	bl	frozen
	cmp	r0, #0
	bne	.L7
	cmp	r5, #0
	bne	.L5
	mov	r0, r4
	bl	set_freeze_flag
.L2:
	mov	r0, r4
	bl	should_send_signal
	cmp	r0, #0
	bne	.L13
	cmp	r5, #0
	beq	.L14
.L7:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r3, .L16
	mov	r0, r4
	ldr	r1, [r3]
	bl	wake_up_state
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r4
	bl	signal_pending
	cmp	r0, #0
	beq	.L15
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, r4
	bl	should_send_signal
	cmp	r0, #0
	beq	.L7
	mov	r0, r4
	bl	set_freeze_flag
	b	.L2
.L15:
	mov	r0, r4
	bl	fake_signal_wake_up
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L17:
	.align	2
.L16:
	.word	TASK_INTERRUPTIBLE
	.size	freeze_task, .-freeze_task
	.comm	TASK_INTERRUPTIBLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
