	.file	"extr_exutils.c_acpi_ex_truncate_for32bit_table.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acpi_ex_truncate_for32bit_table
	.type	acpi_ex_truncate_for32bit_table, @function
acpi_ex_truncate_for32bit_table:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	eax, eax
	mov	rbx, rdi
	call	ACPI_FUNCTION_ENTRY@PLT
	test	rbx, rbx
	je	.L1
	mov	rdi, rbx
	call	ACPI_GET_DESCRIPTOR_TYPE@PLT
	cmp	rax, QWORD PTR ACPI_DESC_TYPE_OPERAND[rip]
	je	.L7
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rax, QWORD PTR ACPI_TYPE_INTEGER[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L1
	cmp	DWORD PTR acpi_gbl_integer_byte_width[rip], 4
	jne	.L1
	mov	rax, QWORD PTR ACPI_UINT32_MAX[rip]
	and	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	acpi_ex_truncate_for32bit_table, .-acpi_ex_truncate_for32bit_table
	.comm	acpi_gbl_integer_byte_width,4,4
	.comm	ACPI_UINT32_MAX,8,8
	.comm	ACPI_TYPE_INTEGER,8,8
	.comm	ACPI_DESC_TYPE_OPERAND,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_exutils.c_acpi_ex_truncate_for32bit_table.c"
	.text
	.align	2
	.global	acpi_ex_truncate_for32bit_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ex_truncate_for32bit_table, %function
acpi_ex_truncate_for32bit_table:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	ACPI_FUNCTION_ENTRY
	cmp	r4, #0
	popeq	{r4, pc}
	mov	r0, r4
	bl	ACPI_GET_DESCRIPTOR_TYPE
	ldr	r3, .L7
	ldr	r3, [r3]
	cmp	r0, r3
	popne	{r4, pc}
	ldr	r2, .L7+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	popne	{r4, pc}
	ldr	r2, .L7+8
	ldr	r2, [r2]
	cmp	r2, #4
	ldreq	r2, .L7+12
	ldreq	r2, [r2]
	andeq	r3, r3, r2
	streq	r3, [r4]
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	ACPI_DESC_TYPE_OPERAND
	.word	ACPI_TYPE_INTEGER
	.word	acpi_gbl_integer_byte_width
	.word	ACPI_UINT32_MAX
	.size	acpi_ex_truncate_for32bit_table, .-acpi_ex_truncate_for32bit_table
	.comm	acpi_gbl_integer_byte_width,4,4
	.comm	ACPI_UINT32_MAX,4,4
	.comm	ACPI_TYPE_INTEGER,4,4
	.comm	ACPI_DESC_TYPE_OPERAND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
