	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_dbgopt                    ## -- Begin function nvkm_dbgopt
	.p2align	4, 0x90
_nvkm_dbgopt:                           ## @nvkm_dbgopt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	_CONFIG_NOUVEAU_DEBUG_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.1:
	movq	%rdi, %rbx
	movl	$1, %r14d
	leaq	L_.str(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_strncasecmpz
	testl	%eax, %eax
	movl	$0, %eax
	cmovnel	%eax, %r14d
	addq	%r15, %rbx
	incq	%rbx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_strcspn
	movl	%eax, %r13d
	movslq	%eax, %r15
	movzbl	(%rbx,%r15), %eax
	cmpb	$61, %al
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	je	LBB0_23
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	callq	_strncasecmpz
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	callq	_strncasecmpz
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %edx
	callq	_strncasecmpz
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	%r13d, %edx
	callq	_strncasecmpz
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%r13d, %edx
	callq	_strncasecmpz
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	%r13d, %edx
	callq	_strncasecmpz
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	%r13d, %edx
	callq	_strncasecmpz
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	%r13d, %edx
	callq	_strncasecmpz
	testl	%eax, %eax
	jne	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_NV_DBG_SPAM@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NV_DBG_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NV_DBG_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_NV_DBG_WARN@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_NV_DBG_INFO@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_NV_DBG_DEBUG@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_NV_DBG_TRACE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_NV_DBG_PARANOIA@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rbx,%r15), %eax
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r14d
	testb	%al, %al
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%r15, %rbx
	incq	%rbx
	jmp	LBB0_2
LBB0_25:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_NOUVEAU_DEBUG_DEFAULT,4,2 ## @CONFIG_NOUVEAU_DEBUG_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	",="

L_.str.1:                               ## @.str.1
	.asciz	"fatal"

	.comm	_NV_DBG_FATAL,4,2               ## @NV_DBG_FATAL
L_.str.2:                               ## @.str.2
	.asciz	"error"

	.comm	_NV_DBG_ERROR,4,2               ## @NV_DBG_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"warn"

	.comm	_NV_DBG_WARN,4,2                ## @NV_DBG_WARN
L_.str.4:                               ## @.str.4
	.asciz	"info"

	.comm	_NV_DBG_INFO,4,2                ## @NV_DBG_INFO
L_.str.5:                               ## @.str.5
	.asciz	"debug"

	.comm	_NV_DBG_DEBUG,4,2               ## @NV_DBG_DEBUG
L_.str.6:                               ## @.str.6
	.asciz	"trace"

	.comm	_NV_DBG_TRACE,4,2               ## @NV_DBG_TRACE
L_.str.7:                               ## @.str.7
	.asciz	"paranoia"

	.comm	_NV_DBG_PARANOIA,4,2            ## @NV_DBG_PARANOIA
L_.str.8:                               ## @.str.8
	.asciz	"spam"

	.comm	_NV_DBG_SPAM,4,2                ## @NV_DBG_SPAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_dbgopt                    ; -- Begin function nvkm_dbgopt
	.p2align	2
_nvkm_dbgopt:                           ; @nvkm_dbgopt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _CONFIG_NOUVEAU_DEBUG_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_NOUVEAU_DEBUG_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	cbz	x0, LBB0_25
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w26, #1
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
Lloh5:
	adrp	x23, l_.str.1@PAGE
Lloh6:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh7:
	adrp	x27, _NV_DBG_FATAL@GOTPAGE
Lloh8:
	ldr	x27, [x27, _NV_DBG_FATAL@GOTPAGEOFF]
Lloh9:
	adrp	x24, l_.str.2@PAGE
Lloh10:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh11:
	adrp	x25, l_.str.3@PAGE
Lloh12:
	add	x25, x25, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x28
	bl	_strncasecmpz
	cmp	w0, #0
	csel	w26, w26, wzr, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x20, x28
	add	x20, x8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_strcspn
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x28, w0
	ldrb	w8, [x20, x28]
	cmp	w8, #61
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w26, LBB0_23
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x28
	bl	_strncasecmpz
	cbz	w0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x24
	mov	x2, x28
	bl	_strncasecmpz
	cbz	w0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x25
	mov	x2, x28
	bl	_strncasecmpz
	cbz	w0, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x28
	bl	_strncasecmpz
	cbz	w0, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x28
	bl	_strncasecmpz
	cbz	w0, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x28
	bl	_strncasecmpz
	cbz	w0, LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x28
	bl	_strncasecmpz
	cbz	w0, LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
Lloh21:
	adrp	x1, l_.str.8@PAGE
Lloh22:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x28
	bl	_strncasecmpz
Lloh23:
	adrp	x8, _NV_DBG_SPAM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NV_DBG_SPAM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w21, w8, w21, eq
	b	LBB0_22
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w21, [x27]
	b	LBB0_22
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh26:
	adrp	x8, _NV_DBG_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NV_DBG_ERROR@GOTPAGEOFF]
	b	LBB0_21
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh28:
	adrp	x8, _NV_DBG_WARN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NV_DBG_WARN@GOTPAGEOFF]
	b	LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh30:
	adrp	x8, _NV_DBG_INFO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _NV_DBG_INFO@GOTPAGEOFF]
	b	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh32:
	adrp	x8, _NV_DBG_DEBUG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NV_DBG_DEBUG@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh34:
	adrp	x8, _NV_DBG_TRACE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NV_DBG_TRACE@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh36:
	adrp	x8, _NV_DBG_PARANOIA@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NV_DBG_PARANOIA@GOTPAGEOFF]
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w21, [x8]
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20, x28]
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w8, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #1
	b	LBB0_3
LBB0_25:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_NOUVEAU_DEBUG_DEFAULT,4,2 ; @CONFIG_NOUVEAU_DEBUG_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	",="

l_.str.1:                               ; @.str.1
	.asciz	"fatal"

	.comm	_NV_DBG_FATAL,4,2               ; @NV_DBG_FATAL
l_.str.2:                               ; @.str.2
	.asciz	"error"

	.comm	_NV_DBG_ERROR,4,2               ; @NV_DBG_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"warn"

	.comm	_NV_DBG_WARN,4,2                ; @NV_DBG_WARN
l_.str.4:                               ; @.str.4
	.asciz	"info"

	.comm	_NV_DBG_INFO,4,2                ; @NV_DBG_INFO
l_.str.5:                               ; @.str.5
	.asciz	"debug"

	.comm	_NV_DBG_DEBUG,4,2               ; @NV_DBG_DEBUG
l_.str.6:                               ; @.str.6
	.asciz	"trace"

	.comm	_NV_DBG_TRACE,4,2               ; @NV_DBG_TRACE
l_.str.7:                               ; @.str.7
	.asciz	"paranoia"

	.comm	_NV_DBG_PARANOIA,4,2            ; @NV_DBG_PARANOIA
l_.str.8:                               ; @.str.8
	.asciz	"spam"

	.comm	_NV_DBG_SPAM,4,2                ; @NV_DBG_SPAM
.subsections_via_symbols
