	.file	"extr_machine_task.c_machine_task_get_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	machine_task_get_state
	.type	machine_task_get_state, @function
machine_task_get_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	cmp	esi, 129
	je	.L2
	cmp	esi, 130
	je	.L3
	cmp	esi, 128
	je	.L26
.L22:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR KERN_INVALID_ARGUMENT[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	task_has_64Bit_data@PLT
	test	eax, eax
	jne	.L22
	mov	eax, DWORD PTR ARM_DEBUG_STATE32_COUNT[rip]
	cmp	DWORD PTR 0[rbp], eax
	jne	.L22
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L24
	mov	edx, DWORD PTR FALSE[rip]
	mov	rsi, r12
	call	copy_debug_state32@PLT
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L26:
	call	task_has_64Bit_data@PLT
	test	eax, eax
	je	.L22
	mov	eax, DWORD PTR ARM_DEBUG_STATE64_COUNT[rip]
	cmp	DWORD PTR 0[rbp], eax
	jne	.L22
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L24
	mov	edx, DWORD PTR FALSE[rip]
	mov	rsi, r12
	call	copy_debug_state64@PLT
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L3:
	call	task_has_64Bit_data@PLT
	test	eax, eax
	jne	.L22
	mov	eax, DWORD PTR ARM_LEGACY_DEBUG_STATE_COUNT[rip]
	cmp	DWORD PTR 0[rbp], eax
	jne	.L22
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L24
	mov	edx, DWORD PTR FALSE[rip]
	mov	rsi, r12
	call	copy_legacy_debug_state@PLT
.L18:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR KERN_SUCCESS[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	esi, 4
	mov	rdi, r12
	call	bzero@PLT
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	machine_task_get_state, .-machine_task_get_state
	.comm	KERN_SUCCESS,4,4
	.comm	KERN_INVALID_ARGUMENT,4,4
	.comm	KERN_FAILURE,4,4
	.comm	FALSE,4,4
	.comm	ARM_LEGACY_DEBUG_STATE_COUNT,4,4
	.comm	ARM_DEBUG_STATE64_COUNT,4,4
	.comm	ARM_DEBUG_STATE32_COUNT,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_machine_task.c_machine_task_get_state.c"
	.text
	.align	2
	.global	machine_task_get_state
	.syntax unified
	.arm
	.fpu softvfp
	.type	machine_task_get_state, %function
machine_task_get_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #129
	push	{r4, r5, r6, lr}
	mov	r6, r2
	mov	r4, r3
	mov	r5, r0
	beq	.L2
	cmp	r1, #130
	beq	.L3
	cmp	r1, #128
	beq	.L26
.L22:
	ldr	r3, .L27
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	bl	task_has_64Bit_data
	cmp	r0, #0
	bne	.L22
	ldr	r3, .L27+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L22
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L24
	ldr	r3, .L27+8
	mov	r1, r6
	ldr	r2, [r3]
	bl	copy_debug_state32
	b	.L18
.L26:
	bl	task_has_64Bit_data
	cmp	r0, #0
	beq	.L22
	ldr	r3, .L27+12
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L22
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L24
	ldr	r3, .L27+8
	mov	r1, r6
	ldr	r2, [r3]
	bl	copy_debug_state64
	b	.L18
.L3:
	bl	task_has_64Bit_data
	cmp	r0, #0
	bne	.L22
	ldr	r3, .L27+16
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L22
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L24
	ldr	r3, .L27+8
	mov	r1, r6
	ldr	r2, [r3]
	bl	copy_legacy_debug_state
.L18:
	ldr	r3, .L27+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L24:
	mov	r0, r6
	mov	r1, #4
	bl	bzero
	b	.L18
.L28:
	.align	2
.L27:
	.word	KERN_INVALID_ARGUMENT
	.word	ARM_DEBUG_STATE32_COUNT
	.word	FALSE
	.word	ARM_DEBUG_STATE64_COUNT
	.word	ARM_LEGACY_DEBUG_STATE_COUNT
	.word	KERN_SUCCESS
	.size	machine_task_get_state, .-machine_task_get_state
	.comm	KERN_SUCCESS,4,4
	.comm	KERN_INVALID_ARGUMENT,4,4
	.comm	KERN_FAILURE,4,4
	.comm	FALSE,4,4
	.comm	ARM_LEGACY_DEBUG_STATE_COUNT,4,4
	.comm	ARM_DEBUG_STATE64_COUNT,4,4
	.comm	ARM_DEBUG_STATE32_COUNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
