	.file	"extr_scan.c_acpi_device_get_busid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ACPI"
.LC1:
	.string	"PWRF"
.LC2:
	.string	"SLPF"
.LC3:
	.string	"ECDT"
	.text
	.p2align 4
	.type	acpi_device_get_busid, @function
acpi_device_get_busid:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rbp, 19[rsp]
	mov	BYTE PTR 23[rsp], 0
	mov	DWORD PTR 19[rsp], 63
	mov	DWORD PTR [rsp], 5
	mov	QWORD PTR 8[rsp], rbp
	call	ACPI_IS_ROOT_DEVICE@PLT
	test	rax, rax
	jne	.L16
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 129
	je	.L4
	cmp	eax, 130
	je	.L5
	cmp	eax, 128
	je	.L17
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR ACPI_SINGLE_NAME[rip]
	mov	rdx, rsp
	call	acpi_get_name@PLT
	cmp	BYTE PTR 22[rsp], 95
	jne	.L10
	cmp	BYTE PTR 21[rsp], 95
	mov	BYTE PTR 22[rsp], 0
	jne	.L10
	mov	BYTE PTR 21[rsp], 0
.L10:
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, rbp
	call	strcpy@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR 4[rbx]
	lea	rsi, .LC0[rip]
	call	strcpy@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbx]
	lea	rsi, .LC1[rip]
	call	strcpy@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR 4[rbx]
	lea	rsi, .LC3[rip]
	call	strcpy@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR 4[rbx]
	lea	rsi, .LC2[rip]
	call	strcpy@PLT
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	acpi_device_get_busid, .-acpi_device_get_busid
	.comm	ACPI_SINGLE_NAME,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_scan.c_acpi_device_get_busid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ACPI\000"
	.align	2
.LC1:
	.ascii	"PWRF\000"
	.align	2
.LC2:
	.ascii	"SLPF\000"
	.align	2
.LC3:
	.ascii	"ECDT\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_device_get_busid, %function
acpi_device_get_busid:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, #63
	mov	r2, #0
	mov	r3, #5
	push	{r4, r5, r6, lr}
	ldr	ip, .L19
	sub	sp, sp, #24
	add	r6, sp, #12
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	mov	r4, r0
	stmib	sp, {r3, r6}
	str	r1, [sp, #12]
	strb	r2, [sp, #16]
	bl	ACPI_IS_ROOT_DEVICE
	subs	r5, r0, #0
	bne	.L16
	ldr	r3, [r4]
	cmp	r3, #129
	beq	.L4
	cmp	r3, #130
	beq	.L5
	cmp	r3, #128
	beq	.L17
	ldr	r3, .L19+4
	ldr	r0, [r4, #8]
	ldr	r1, [r3]
	add	r2, sp, #4
	bl	acpi_get_name
	ldrb	r3, [sp, #15]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L10
	ldrb	r3, [sp, #14]	@ zero_extendqisi2
	strb	r5, [sp, #15]
	cmp	r3, #95
	strbeq	r5, [sp, #14]
.L10:
	mov	r1, r6
	ldr	r0, [r4, #4]
	bl	strcpy
	b	.L1
.L16:
	ldr	r0, [r4, #4]
	ldr	r1, .L19+8
	bl	strcpy
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r0, [r4, #4]
	ldr	r1, .L19+12
	bl	strcpy
	b	.L1
.L5:
	ldr	r0, [r4, #4]
	ldr	r1, .L19+16
	bl	strcpy
	b	.L1
.L17:
	ldr	r0, [r4, #4]
	ldr	r1, .L19+20
	bl	strcpy
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC4
	.word	ACPI_SINGLE_NAME
	.word	.LC0
	.word	.LC1
	.word	.LC3
	.word	.LC2
	.size	acpi_device_get_busid, .-acpi_device_get_busid
	.comm	ACPI_SINGLE_NAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
