	.file	"extr_rsaddr.c_AcpiRsGetAddressCommon.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	AcpiRsGetAddressCommon
	.type	AcpiRsGetAddressCommon, @function
AcpiRsGetAddressCommon:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	ACPI_FUNCTION_ENTRY@PLT
	mov	eax, DWORD PTR 0[rbp]
	sub	eax, 3
	cmp	eax, 188
	ja	.L2
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 8
	.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
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR AcpiRsConvertGeneralFlags[rip]
	mov	rsi, rbp
	mov	rdi, r12
	call	AcpiRsConvertAmlToResource@PLT
	mov	rax, QWORD PTR [r12]
	cmp	rax, QWORD PTR ACPI_MEMORY_RANGE[rip]
	je	.L9
	cmp	rax, QWORD PTR ACPI_IO_RANGE[rip]
	je	.L10
	mov	eax, DWORD PTR 4[rbp]
	mov	DWORD PTR 8[r12], eax
.L5:
	mov	eax, DWORD PTR TRUE[rip]
	add	rsp, 8
	.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
.L9:
	.cfi_restore_state
	mov	edx, DWORD PTR AcpiRsConvertMemFlags[rip]
	mov	rsi, rbp
	mov	rdi, r12
	call	AcpiRsConvertAmlToResource@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, DWORD PTR AcpiRsConvertIoFlags[rip]
	mov	rsi, rbp
	mov	rdi, r12
	call	AcpiRsConvertAmlToResource@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	AcpiRsGetAddressCommon, .-AcpiRsGetAddressCommon
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	AcpiRsConvertMemFlags,4,4
	.comm	AcpiRsConvertIoFlags,4,4
	.comm	AcpiRsConvertGeneralFlags,4,4
	.comm	ACPI_MEMORY_RANGE,8,8
	.comm	ACPI_IO_RANGE,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_rsaddr.c_AcpiRsGetAddressCommon.c"
	.text
	.align	2
	.global	AcpiRsGetAddressCommon
	.syntax unified
	.arm
	.fpu softvfp
	.type	AcpiRsGetAddressCommon, %function
AcpiRsGetAddressCommon:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	bl	ACPI_FUNCTION_ENTRY
	ldr	r3, [r4]
	sub	r3, r3, #3
	cmp	r3, #188
	bhi	.L2
	ldr	r3, .L11
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L11+4
	mov	r1, r4
	ldr	r2, [r3]
	mov	r0, r5
	bl	AcpiRsConvertAmlToResource
	ldr	r2, .L11+8
	ldr	r3, [r5]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L9
	ldr	r2, .L11+12
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L10
	ldr	r3, [r4, #4]
	str	r3, [r5, #4]
.L5:
	ldr	r3, .L11+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L11+20
	mov	r1, r4
	mov	r0, r5
	ldr	r2, [r3]
	bl	AcpiRsConvertAmlToResource
	b	.L5
.L10:
	ldr	r3, .L11+24
	mov	r1, r4
	mov	r0, r5
	ldr	r2, [r3]
	bl	AcpiRsConvertAmlToResource
	b	.L5
.L12:
	.align	2
.L11:
	.word	FALSE
	.word	AcpiRsConvertGeneralFlags
	.word	ACPI_MEMORY_RANGE
	.word	ACPI_IO_RANGE
	.word	TRUE
	.word	AcpiRsConvertMemFlags
	.word	AcpiRsConvertIoFlags
	.size	AcpiRsGetAddressCommon, .-AcpiRsGetAddressCommon
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	AcpiRsConvertMemFlags,4,4
	.comm	AcpiRsConvertIoFlags,4,4
	.comm	AcpiRsConvertGeneralFlags,4,4
	.comm	ACPI_MEMORY_RANGE,4,4
	.comm	ACPI_IO_RANGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
