	.file	"extr_exfldio.c_acpi_ex_setup_region.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	acpi_ex_setup_region, @function
acpi_ex_setup_region:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR ex_setup_region[rip]
	call	ACPI_FUNCTION_TRACE_U32@PLT
	mov	rbx, QWORD PTR 24[rbp]
	mov	rax, QWORD PTR ACPI_TYPE_REGION[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L2
	mov	rdi, rbx
	call	acpi_ut_get_object_type_name@PLT
	mov	edi, eax
	call	ACPI_ERROR@PLT
	mov	edi, DWORD PTR AE_AML_OPERAND_TYPE[rip]
	call	return_ACPI_STATUS@PLT
.L2:
	mov	eax, DWORD PTR 8[rbx]
	test	DWORD PTR AOPOBJ_DATA_VALID[rip], eax
	je	.L18
.L3:
	test	DWORD PTR AOPOBJ_INVALID[rip], eax
	jne	.L19
.L5:
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR ACPI_ADR_SPACE_SMBUS[rip]
	je	.L6
	cmp	rax, QWORD PTR ACPI_ADR_SPACE_IPMI[rip]
	je	.L6
.L7:
	mov	rax, QWORD PTR 0[rbp]
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 8[rbx]
	add	rax, r12
	add	rax, rsi
	cmp	rdi, rax
	jge	.L8
	cmp	QWORD PTR acpi_gbl_enable_interpreter_slack[rip], 0
	jne	.L20
.L9:
	mov	r8d, DWORD PTR 16[rbp]
	cmp	rdi, rsi
	jl	.L21
.L11:
	mov	edi, r8d
	call	acpi_ut_get_node_name@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	acpi_ut_get_node_name@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	ACPI_ERROR@PLT
	mov	edi, DWORD PTR AE_AML_REGION_LIMIT[rip]
	call	return_ACPI_STATUS@PLT
.L8:
	mov	edi, DWORD PTR AE_OK[rip]
	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	return_ACPI_STATUS@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR AE_OK[rip]
	call	return_ACPI_STATUS@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edi, DWORD PTR AE_AML_ILLEGAL_ADDRESS[rip]
	call	return_ACPI_STATUS@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, rbx
	call	acpi_ds_get_region_arguments@PLT
	mov	edi, eax
	mov	r13d, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L4
.L16:
	mov	eax, DWORD PTR 8[rbx]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edi, r8d
	call	acpi_ut_get_node_name@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	acpi_ut_get_node_name@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	ACPI_ERROR@PLT
	mov	r8d, DWORD PTR 16[rbp]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L20:
	call	ACPI_ROUND_UP@PLT
	mov	rsi, QWORD PTR 8[rbp]
	mov	r8, rax
	mov	rax, QWORD PTR 0[rbp]
	add	rax, rsi
	add	r12, rax
	cmp	r8, r12
	jge	.L10
	mov	rdi, QWORD PTR 8[rbx]
	mov	r8d, DWORD PTR 16[rbp]
	cmp	rdi, rsi
	jge	.L11
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, r13d
	call	return_ACPI_STATUS@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR AE_OK[rip]
	call	return_ACPI_STATUS@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR 8[rbp]
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	acpi_ex_setup_region, .-acpi_ex_setup_region
	.comm	ex_setup_region,4,4
	.comm	acpi_gbl_enable_interpreter_slack,8,8
	.comm	AOPOBJ_INVALID,4,4
	.comm	AOPOBJ_DATA_VALID,4,4
	.comm	AE_OK,4,4
	.comm	AE_INFO,4,4
	.comm	AE_AML_REGION_LIMIT,4,4
	.comm	AE_AML_OPERAND_TYPE,4,4
	.comm	AE_AML_ILLEGAL_ADDRESS,4,4
	.comm	ACPI_TYPE_REGION,8,8
	.comm	ACPI_ADR_SPACE_SMBUS,8,8
	.comm	ACPI_ADR_SPACE_IPMI,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_exfldio.c_acpi_ex_setup_region.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ex_setup_region, %function
acpi_ex_setup_region:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r3, .L26
	mov	r6, r1
	ldr	r0, [r3]
	bl	ACPI_FUNCTION_TRACE_U32
	ldr	r4, [r5, #12]
	ldr	r3, .L26+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	mov	r0, r4
	bl	acpi_ut_get_object_type_name
	bl	ACPI_ERROR
	ldr	r3, .L26+8
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
.L2:
	ldr	r2, .L26+12
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L22
.L3:
	ldr	r2, .L26+16
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L23
.L5:
	ldr	r2, .L26+20
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r7, .L26+24
	cmp	r3, r2
	beq	.L6
	ldr	r2, .L26+28
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L6
.L7:
	ldr	r3, [r5]
	ldr	r1, [r5, #4]
	ldr	r0, [r4, #4]
	add	r3, r6, r3
	add	r3, r3, r1
	cmp	r0, r3
	bge	.L8
	ldr	r3, .L26+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L24
.L9:
	cmp	r0, r1
	ldr	r0, [r5, #8]
	blt	.L25
.L11:
	bl	acpi_ut_get_node_name
	ldr	r0, [r4, #8]
	bl	acpi_ut_get_node_name
	ldr	r0, [r4, #4]
	bl	ACPI_ERROR
	ldr	r3, .L26+36
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
.L8:
	ldr	r0, [r7]
	pop	{r4, r5, r6, r7, r8, lr}
	b	return_ACPI_STATUS
.L6:
	ldr	r0, [r7]
	bl	return_ACPI_STATUS
	b	.L7
.L23:
	ldr	r3, .L26+40
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
	b	.L5
.L22:
	mov	r0, r4
	bl	acpi_ds_get_region_arguments
	mov	r7, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L4
.L20:
	ldr	r3, [r4, #4]
	b	.L3
.L25:
	bl	acpi_ut_get_node_name
	ldr	r0, [r4, #8]
	bl	acpi_ut_get_node_name
	ldr	r0, [r4, #4]
	bl	ACPI_ERROR
	ldr	r0, [r5, #8]
	b	.L11
.L24:
	bl	ACPI_ROUND_UP
	ldr	r1, [r5, #4]
	ldr	r3, [r5]
	add	r3, r1, r3
	add	r6, r3, r6
	cmp	r0, r6
	bge	.L10
	ldr	r0, [r4, #4]
	cmp	r0, r1
	ldr	r0, [r5, #8]
	bge	.L11
	b	.L25
.L4:
	mov	r0, r7
	bl	return_ACPI_STATUS
	b	.L20
.L10:
	ldr	r0, [r7]
	bl	return_ACPI_STATUS
	ldr	r0, [r4, #4]
	ldr	r1, [r5, #4]
	b	.L9
.L27:
	.align	2
.L26:
	.word	ex_setup_region
	.word	ACPI_TYPE_REGION
	.word	AE_AML_OPERAND_TYPE
	.word	AOPOBJ_DATA_VALID
	.word	AOPOBJ_INVALID
	.word	ACPI_ADR_SPACE_SMBUS
	.word	AE_OK
	.word	ACPI_ADR_SPACE_IPMI
	.word	acpi_gbl_enable_interpreter_slack
	.word	AE_AML_REGION_LIMIT
	.word	AE_AML_ILLEGAL_ADDRESS
	.size	acpi_ex_setup_region, .-acpi_ex_setup_region
	.comm	ex_setup_region,4,4
	.comm	acpi_gbl_enable_interpreter_slack,4,4
	.comm	AOPOBJ_INVALID,4,4
	.comm	AOPOBJ_DATA_VALID,4,4
	.comm	AE_OK,4,4
	.comm	AE_INFO,4,4
	.comm	AE_AML_REGION_LIMIT,4,4
	.comm	AE_AML_OPERAND_TYPE,4,4
	.comm	AE_AML_ILLEGAL_ADDRESS,4,4
	.comm	ACPI_TYPE_REGION,4,4
	.comm	ACPI_ADR_SPACE_SMBUS,4,4
	.comm	ACPI_ADR_SPACE_IPMI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
