	.file	"extr_text.c_atf_text_to_bool.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"yes"
.LC1:
	.string	"true"
.LC2:
	.string	"no"
.LC3:
	.string	"false"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"Cannot convert string '%s' to boolean"
	.text
	.p2align 4
	.globl	atf_text_to_bool
	.type	atf_text_to_bool, @function
atf_text_to_bool:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	strcasecmp@PLT
	test	rax, rax
	je	.L3
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	strcasecmp@PLT
	test	rax, rax
	jne	.L15
.L3:
	mov	DWORD PTR [rbx], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	atf_no_error@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	strcasecmp@PLT
	test	rax, rax
	je	.L5
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	call	strcasecmp@PLT
	test	rax, rax
	jne	.L16
.L5:
	mov	DWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	atf_no_error@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edi, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	lea	rsi, .LC4[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	atf_libc_error@PLT
	.cfi_endproc
.LFE0:
	.size	atf_text_to_bool, .-atf_text_to_bool
	.comm	EINVAL,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_text.c_atf_text_to_bool.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"yes\000"
	.align	2
.LC1:
	.ascii	"true\000"
	.align	2
.LC2:
	.ascii	"no\000"
	.align	2
.LC3:
	.ascii	"false\000"
	.align	2
.LC4:
	.ascii	"Cannot convert string '%s' to boolean\000"
	.text
	.align	2
	.global	atf_text_to_bool
	.syntax unified
	.arm
	.fpu softvfp
	.type	atf_text_to_bool, %function
atf_text_to_bool:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	ldr	r1, .L14
	mov	r4, r0
	bl	strcasecmp
	cmp	r0, #0
	beq	.L2
	mov	r0, r4
	ldr	r1, .L14+4
	bl	strcasecmp
	cmp	r0, #0
	beq	.L2
	mov	r0, r4
	ldr	r1, .L14+8
	bl	strcasecmp
	cmp	r0, #0
	beq	.L4
	mov	r0, r4
	ldr	r1, .L14+12
	bl	strcasecmp
	cmp	r0, #0
	bne	.L5
.L4:
	mov	r3, #0
	str	r3, [r5]
	pop	{r4, r5, r6, lr}
	b	atf_no_error
.L2:
	mov	r3, #1
	str	r3, [r5]
	pop	{r4, r5, r6, lr}
	b	atf_no_error
.L5:
	ldr	r3, .L14+16
	mov	r2, r4
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	ldr	r1, .L14+20
	b	atf_libc_error
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	EINVAL
	.word	.LC4
	.size	atf_text_to_bool, .-atf_text_to_bool
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
