	.file	"extr_option.c_nvkm_dbgopt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	",="
.LC1:
	.string	"fatal"
.LC2:
	.string	"error"
.LC3:
	.string	"warn"
.LC4:
	.string	"info"
.LC5:
	.string	"debug"
.LC6:
	.string	"trace"
.LC7:
	.string	"paranoia"
.LC8:
	.string	"spam"
	.text
	.p2align 4
	.globl	nvkm_dbgopt
	.type	nvkm_dbgopt, @function
nvkm_dbgopt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r14d, DWORD PTR CONFIG_NOUVEAU_DEBUG_DEFAULT[rip]
	mov	QWORD PTR 8[rsp], rsi
	test	rdi, rdi
	je	.L1
	mov	rbx, rdi
	mov	ebp, 1
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L6:
	test	al, al
	je	.L1
.L31:
	add	rbx, 1
	mov	ebp, 1
.L5:
	add	rbx, r15
.L15:
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	strcspn@PLT
	movsx	r15, eax
	lea	r13, [rbx+r15]
	movzx	eax, BYTE PTR 0[r13]
	cmp	al, 61
	je	.L30
	test	ebp, ebp
	je	.L6
	mov	edx, r15d
	lea	rsi, .LC1[rip]
	mov	rdi, rbx
	call	strncasecmpz@PLT
	test	eax, eax
	jne	.L7
	movzx	eax, BYTE PTR 0[r13]
	mov	r14d, DWORD PTR NV_DBG_FATAL[rip]
	test	al, al
	jne	.L31
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbx
	mov	edx, r15d
	call	strncasecmpz@PLT
	test	eax, eax
	mov	eax, 0
	cmovne	ebp, eax
	add	rbx, 1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, r15d
	lea	rsi, .LC2[rip]
	mov	rdi, rbx
	call	strncasecmpz@PLT
	test	eax, eax
	jne	.L8
	mov	r14d, DWORD PTR NV_DBG_ERROR[rip]
	movzx	eax, BYTE PTR 0[r13]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, r15d
	lea	rsi, .LC3[rip]
	mov	rdi, rbx
	call	strncasecmpz@PLT
	test	eax, eax
	jne	.L9
	mov	r14d, DWORD PTR NV_DBG_WARN[rip]
	movzx	eax, BYTE PTR 0[r13]
	jmp	.L6
.L9:
	mov	edx, r15d
	lea	rsi, .LC4[rip]
	mov	rdi, rbx
	call	strncasecmpz@PLT
	test	eax, eax
	jne	.L10
	mov	r14d, DWORD PTR NV_DBG_INFO[rip]
	movzx	eax, BYTE PTR 0[r13]
	jmp	.L6
.L10:
	mov	edx, r15d
	lea	rsi, .LC5[rip]
	mov	rdi, rbx
	call	strncasecmpz@PLT
	test	eax, eax
	jne	.L11
	mov	r14d, DWORD PTR NV_DBG_DEBUG[rip]
	movzx	eax, BYTE PTR 0[r13]
	jmp	.L6
.L11:
	mov	edx, r15d
	lea	rsi, .LC6[rip]
	mov	rdi, rbx
	call	strncasecmpz@PLT
	test	eax, eax
	jne	.L12
	mov	r14d, DWORD PTR NV_DBG_TRACE[rip]
	movzx	eax, BYTE PTR 0[r13]
	jmp	.L6
.L12:
	mov	edx, r15d
	lea	rsi, .LC7[rip]
	mov	rdi, rbx
	call	strncasecmpz@PLT
	test	eax, eax
	jne	.L13
	mov	r14d, DWORD PTR NV_DBG_PARANOIA[rip]
	movzx	eax, BYTE PTR 0[r13]
	jmp	.L6
.L13:
	mov	edx, r15d
	lea	rsi, .LC8[rip]
	mov	rdi, rbx
	call	strncasecmpz@PLT
	test	eax, eax
	jne	.L28
	mov	r14d, DWORD PTR NV_DBG_SPAM[rip]
.L28:
	movzx	eax, BYTE PTR 0[r13]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	nvkm_dbgopt, .-nvkm_dbgopt
	.comm	NV_DBG_WARN,4,4
	.comm	NV_DBG_TRACE,4,4
	.comm	NV_DBG_SPAM,4,4
	.comm	NV_DBG_PARANOIA,4,4
	.comm	NV_DBG_INFO,4,4
	.comm	NV_DBG_FATAL,4,4
	.comm	NV_DBG_ERROR,4,4
	.comm	NV_DBG_DEBUG,4,4
	.comm	CONFIG_NOUVEAU_DEBUG_DEFAULT,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_option.c_nvkm_dbgopt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	",=\000"
	.align	2
.LC1:
	.ascii	"fatal\000"
	.align	2
.LC2:
	.ascii	"error\000"
	.align	2
.LC3:
	.ascii	"warn\000"
	.align	2
.LC4:
	.ascii	"info\000"
	.align	2
.LC5:
	.ascii	"debug\000"
	.align	2
.LC6:
	.ascii	"trace\000"
	.align	2
.LC7:
	.ascii	"paranoia\000"
	.align	2
.LC8:
	.ascii	"spam\000"
	.text
	.align	2
	.global	nvkm_dbgopt
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvkm_dbgopt, %function
nvkm_dbgopt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L32
	subs	r4, r0, #0
	ldr	r8, [r3]
	beq	.L1
	mov	r7, r1
	mov	r5, #1
	ldr	r6, .L32+4
	ldr	r9, .L32+8
	b	.L15
.L6:
	cmp	r3, #0
	beq	.L1
.L31:
	mov	r5, #1
	add	r4, r4, r5
.L5:
	add	r4, r4, r10
.L15:
	mov	r1, r6
	mov	r0, r4
	bl	strcspn
	ldrb	r3, [r4, r0]	@ zero_extendqisi2
	mov	r10, r0
	cmp	r3, #61
	add	fp, r4, r0
	beq	.L30
	cmp	r5, #0
	beq	.L6
	mov	r2, r0
	mov	r1, r9
	mov	r0, r4
	bl	strncasecmpz
	cmp	r0, #0
	bne	.L7
	ldrb	r3, [fp]	@ zero_extendqisi2
	ldr	r2, .L32+12
	cmp	r3, #0
	ldr	r8, [r2]
	bne	.L31
.L1:
	mov	r0, r8
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	mov	r2, r0
	mov	r1, r7
	mov	r0, r4
	bl	strncasecmpz
	cmp	r0, #0
	movne	r5, #0
	add	r4, r4, #1
	b	.L5
.L7:
	mov	r2, r10
	mov	r0, r4
	ldr	r1, .L32+16
	bl	strncasecmpz
	cmp	r0, #0
	ldreq	r2, .L32+20
	ldrbeq	r3, [fp]	@ zero_extendqisi2
	ldreq	r8, [r2]
	beq	.L6
.L8:
	mov	r2, r10
	mov	r0, r4
	ldr	r1, .L32+24
	bl	strncasecmpz
	cmp	r0, #0
	ldreq	r2, .L32+28
	ldrbeq	r3, [fp]	@ zero_extendqisi2
	ldreq	r8, [r2]
	beq	.L6
.L9:
	mov	r2, r10
	mov	r0, r4
	ldr	r1, .L32+32
	bl	strncasecmpz
	cmp	r0, #0
	ldreq	r2, .L32+36
	ldrbeq	r3, [fp]	@ zero_extendqisi2
	ldreq	r8, [r2]
	beq	.L6
.L10:
	mov	r2, r10
	mov	r0, r4
	ldr	r1, .L32+40
	bl	strncasecmpz
	cmp	r0, #0
	ldreq	r2, .L32+44
	ldrbeq	r3, [fp]	@ zero_extendqisi2
	ldreq	r8, [r2]
	beq	.L6
.L11:
	mov	r2, r10
	mov	r0, r4
	ldr	r1, .L32+48
	bl	strncasecmpz
	cmp	r0, #0
	ldreq	r2, .L32+52
	ldrbeq	r3, [fp]	@ zero_extendqisi2
	ldreq	r8, [r2]
	beq	.L6
.L12:
	mov	r2, r10
	mov	r0, r4
	ldr	r1, .L32+56
	bl	strncasecmpz
	cmp	r0, #0
	ldreq	r2, .L32+60
	ldrbeq	r3, [fp]	@ zero_extendqisi2
	ldreq	r8, [r2]
	beq	.L6
.L13:
	mov	r2, r10
	mov	r0, r4
	ldr	r1, .L32+64
	bl	strncasecmpz
	cmp	r0, #0
	ldreq	r2, .L32+68
	ldrbne	r3, [fp]	@ zero_extendqisi2
	ldrbeq	r3, [fp]	@ zero_extendqisi2
	ldreq	r8, [r2]
	b	.L6
.L33:
	.align	2
.L32:
	.word	CONFIG_NOUVEAU_DEBUG_DEFAULT
	.word	.LC0
	.word	.LC1
	.word	NV_DBG_FATAL
	.word	.LC2
	.word	NV_DBG_ERROR
	.word	.LC3
	.word	NV_DBG_WARN
	.word	.LC4
	.word	NV_DBG_INFO
	.word	.LC5
	.word	NV_DBG_DEBUG
	.word	.LC6
	.word	NV_DBG_TRACE
	.word	.LC7
	.word	NV_DBG_PARANOIA
	.word	.LC8
	.word	NV_DBG_SPAM
	.size	nvkm_dbgopt, .-nvkm_dbgopt
	.comm	NV_DBG_WARN,4,4
	.comm	NV_DBG_TRACE,4,4
	.comm	NV_DBG_SPAM,4,4
	.comm	NV_DBG_PARANOIA,4,4
	.comm	NV_DBG_INFO,4,4
	.comm	NV_DBG_FATAL,4,4
	.comm	NV_DBG_ERROR,4,4
	.comm	NV_DBG_DEBUG,4,4
	.comm	CONFIG_NOUVEAU_DEBUG_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
