	.file	"extr_main.c_command_ubenv.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"usage: 'ubenv <import|show> [var ...]"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"import"
.LC2:
	.string	"show"
	.text
	.p2align 4
	.type	command_ubenv, @function
command_ubenv:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	edi, 1
	jg	.L2
.L7:
	lea	rax, .LC0[rip]
	mov	QWORD PTR command_errmsg[rip], rax
	mov	eax, DWORD PTR CMD_ERROR[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
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12d, edi
	mov	rdi, QWORD PTR 8[rsi]
	mov	r13, rsi
	mov	ebx, DWORD PTR UBENV_UNKNOWN[rip]
	lea	rsi, .LC1[rip]
	call	strcasecmp@PLT
	test	rax, rax
	jne	.L4
	mov	ebx, DWORD PTR UBENV_IMPORT[rip]
.L5:
	cmp	DWORD PTR UBENV_UNKNOWN[rip], ebx
	je	.L7
	cmp	r12d, 2
	je	.L11
	lea	eax, -3[r12]
	lea	rbp, 16[r13]
	lea	r12, 24[r13+rax*8]
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, QWORD PTR 0[rbp]
	mov	edi, ebx
	add	rbp, 8
	call	handle_uboot_env_var@PLT
	cmp	r12, rbp
	jne	.L9
	mov	eax, DWORD PTR CMD_OK[rip]
.L20:
	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
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	xor	ebp, ebp
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rsi, rax
	mov	edi, ebx
	call	handle_uboot_env_var@PLT
.L8:
	mov	rdi, rbp
	call	ub_env_enum@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L19
	mov	eax, DWORD PTR CMD_OK[rip]
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR 8[r13]
	lea	rsi, .LC2[rip]
	call	strcasecmp@PLT
	test	rax, rax
	cmove	ebx, DWORD PTR UBENV_SHOW[rip]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	command_ubenv, .-command_ubenv
	.comm	command_errmsg,8,8
	.comm	UBENV_UNKNOWN,4,4
	.comm	UBENV_SHOW,4,4
	.comm	UBENV_IMPORT,4,4
	.comm	CMD_OK,4,4
	.comm	CMD_ERROR,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_main.c_command_ubenv.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"import\000"
	.align	2
.LC1:
	.ascii	"show\000"
	.align	2
.LC2:
	.ascii	"usage: 'ubenv <import|show> [var ...]\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	command_ubenv, %function
command_ubenv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L18
	cmp	r0, #1
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r3]
	ble	.L2
	ldr	r6, [r1, #4]
	mov	r7, r0
	mov	r4, r1
	mov	r0, r6
	ldr	r1, .L18+4
	bl	strcasecmp
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L18+8
	ldr	r6, [r3]
.L4:
	cmp	r6, r5
	beq	.L2
	cmp	r7, #2
	beq	.L10
	sub	r5, r4, #4
	add	r5, r5, r7, lsl #2
	add	r4, r4, #4
.L8:
	ldr	r1, [r4, #4]!
	mov	r0, r6
	bl	handle_uboot_env_var
	cmp	r5, r4
	bne	.L8
.L9:
	ldr	r3, .L18+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r0, r6
	ldr	r1, .L18+16
	bl	strcasecmp
	cmp	r0, #0
	ldreq	r3, .L18+20
	ldreq	r6, [r3]
	beq	.L4
.L2:
	ldr	r2, .L18+24
	ldr	r1, .L18+28
	ldr	r3, .L18+32
	str	r1, [r2]
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r4, #0
	b	.L7
.L17:
	mov	r1, r4
	mov	r0, r6
	bl	handle_uboot_env_var
.L7:
	mov	r0, r4
	bl	ub_env_enum
	subs	r4, r0, #0
	bne	.L17
	b	.L9
.L19:
	.align	2
.L18:
	.word	UBENV_UNKNOWN
	.word	.LC0
	.word	UBENV_IMPORT
	.word	CMD_OK
	.word	.LC1
	.word	UBENV_SHOW
	.word	command_errmsg
	.word	.LC2
	.word	CMD_ERROR
	.size	command_ubenv, .-command_ubenv
	.comm	command_errmsg,4,4
	.comm	UBENV_UNKNOWN,4,4
	.comm	UBENV_SHOW,4,4
	.comm	UBENV_IMPORT,4,4
	.comm	CMD_OK,4,4
	.comm	CMD_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
