	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_SetLevel                   ## -- Begin function log_SetLevel
	.p2align	4, 0x90
_log_SetLevel:                          ## @log_SetLevel
	.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	%rdi, %r13
	movl	(%rdi), %r15d
	movslq	4(%rdi), %rax
	movq	%rax, %r14
	shlq	$3, %r14
	addq	8(%rdi), %r14
	subl	%eax, %r15d
	je	LBB0_5
## %bb.1:
	movq	(%r14), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movb	(%rbx), %cl
	cmpb	$43, %cl
	je	LBB0_4
## %bb.3:
	cmpb	$45, %cl
	jne	LBB0_9
LBB0_4:
	movl	%r15d, %eax
	jmp	LBB0_12
LBB0_5:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_6:
	movq	16(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_43
## %bb.7:
	addq	$8, %r14
	decl	%r15d
	je	LBB0_46
## %bb.8:
	movq	(%r14), %rbx
	jmp	LBB0_2
LBB0_9:
	testq	%rax, %rax
	je	LBB0_45
LBB0_10:
	xorl	%eax, %eax
	callq	_log_DiscardAll
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_11:
	movl	%r15d, %eax
	testl	%r15d, %r15d
	je	LBB0_42
LBB0_12:
	movq	_LogMAX@GOTPCREL(%rip), %r15
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	addq	$8, %r14
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_44
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_31 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_24 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	movq	(%r14), %rbx
	movb	(%rbx), %r12b
	cmpb	$45, %r12b
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$43, %r12b
	jne	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	decl	%eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_29
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_LogMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r15), %eax
	cmpb	$45, %r12b
	jne	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	%eax, %ebx
	jg	LBB0_13
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	callq	_log_Discard
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_21
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	%eax, %ebx
	jg	LBB0_13
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	callq	_log_Keep
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_24
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpl	%eax, %ebx
	jg	LBB0_13
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rsi
	movl	%ebx, %edi
	callq	_log_DiscardLocal
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_26
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpl	%eax, %ebx
	jg	LBB0_13
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rsi
	movl	%ebx, %edi
	callq	_log_KeepLocal
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_28
	jmp	LBB0_13
LBB0_29:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_LogMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	cmpl	(%r15), %r12d
	jle	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%r12d, %eax
	cmpl	(%r15), %eax
	jle	LBB0_13
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r12d, %edi
	callq	_log_Name
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=2
	leal	1(%r12), %eax
	cmpl	(%r15), %r12d
	movl	%eax, %r12d
	jl	LBB0_31
## %bb.39:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	(%r15), %eax
	jle	LBB0_13
LBB0_40:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_log_Printf
	movl	$-1, -48(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_13
LBB0_33:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r14), %rax
	cmpb	$45, (%rax)
	jne	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%r12d, %edi
	callq	_log_Discard
	jmp	LBB0_30
LBB0_36:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_41
## %bb.37:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%r12d, %edi
	callq	_log_Keep
	jmp	LBB0_30
LBB0_38:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	16(%r13), %rsi
	movl	%r12d, %edi
	callq	_log_DiscardLocal
	movl	%r12d, %eax
	cmpl	(%r15), %eax
	jle	LBB0_13
	jmp	LBB0_40
LBB0_41:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	16(%r13), %rsi
	movl	%r12d, %edi
	callq	_log_KeepLocal
	jmp	LBB0_30
LBB0_42:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_44
LBB0_43:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_44:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	movq	16(%r13), %rdi
	jmp	LBB0_47
LBB0_46:
	xorl	%r15d, %r15d
LBB0_47:
	callq	_log_DiscardAllLocal
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"local"

	.comm	_LogWARN,4,2                    ## @LogWARN
L_.str.1:                               ## @.str.1
	.asciz	"set log local: Only available on the command line\n"

L_.str.2:                               ## @.str.2
	.asciz	"all"

	.comm	_LogMIN,4,2                     ## @LogMIN
	.comm	_LogMAX,4,2                     ## @LogMAX
L_.str.3:                               ## @.str.3
	.asciz	"%s: Invalid log value\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_SetLevel                   ; -- Begin function log_SetLevel
	.p2align	2
_log_SetLevel:                          ; @log_SetLevel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	ldp	w8, w9, [x0]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	ldr	x10, [x0, #8]
	add	x25, x10, x9, lsl #3
	subs	w26, w8, w9
	b.eq	LBB0_5
; %bb.1:
	ldr	x20, [x25]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_36
LBB0_2:
	cmp	x0, #0
	cset	w27, ne
	ldrb	w8, [x20]
	cmp	w8, #43
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #45
	b.eq	LBB0_6
; %bb.4:
	cbz	x0, LBB0_40
LBB0_5:
	bl	_log_DiscardAll
	mov	w27, #1
	cbz	w26, LBB0_42
LBB0_6:
	mov	w20, #0
Lloh2:
	adrp	x21, l_.str.2@PAGE
Lloh3:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh4:
	adrp	x28, _LogMIN@GOTPAGE
Lloh5:
	ldr	x28, [x28, _LogMIN@GOTPAGEOFF]
Lloh6:
	adrp	x22, _LogMAX@GOTPAGE
Lloh7:
	ldr	x22, [x22, _LogMAX@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #8
	cbz	w26, LBB0_43
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x23, [x25]
	ldrb	w24, [x23]
	cmp	w24, #45
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w24, #43
	b.ne	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	w26, w26, #1
	mov	x0, x23
	mov	x1, x21
	bl	_strcasecmp
	cbnz	x0, LBB0_23
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w23, [x28]
	ldr	w8, [x22]
	cmp	w24, #45
	b.ne	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w23, w8
	tbz	w27, #0, LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	b.gt	LBB0_7
LBB0_15:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	bl	_log_Discard
	add	w8, w23, #1
	ldr	w9, [x22]
	cmp	w23, w9
	mov	x23, x8
	b.lt	LBB0_15
	b	LBB0_7
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w23, w8
	tbz	w27, #0, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	b.gt	LBB0_7
LBB0_18:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	bl	_log_Keep
	add	w8, w23, #1
	ldr	w9, [x22]
	cmp	w23, w9
	mov	x23, x8
	b.lt	LBB0_18
	b	LBB0_7
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	b.gt	LBB0_7
LBB0_20:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x19, #16]
	mov	x0, x23
	bl	_log_DiscardLocal
	add	w8, w23, #1
	ldr	w9, [x22]
	cmp	w23, w9
	mov	x23, x8
	b.lt	LBB0_20
	b	LBB0_7
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	b.gt	LBB0_7
LBB0_22:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x19, #16]
	mov	x0, x23
	bl	_log_KeepLocal
	add	w8, w23, #1
	ldr	w9, [x22]
	cmp	w23, w9
	mov	x23, x8
	b.lt	LBB0_22
	b	LBB0_7
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w24, [x28]
	ldr	w8, [x22]
	cmp	w24, w8
	b.le	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, x24
	b	LBB0_27
LBB0_25:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x24
	bl	_log_Name
	mov	x1, x0
	mov	x0, x23
	bl	_strcasecmp
	cbz	x0, LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	add	w8, w24, #1
	ldr	w9, [x22]
	cmp	w24, w9
	mov	x24, x8
	b.lt	LBB0_25
LBB0_27:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w9, [x22]
	cmp	w8, w9
	b.le	LBB0_7
; %bb.28:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh8:
	adrp	x8, _LogWARN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	str	x23, [sp]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_log_Printf
	mov	w20, #-1
	b	LBB0_7
LBB0_29:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x25]
	ldrb	w8, [x8]
	cmp	w8, #45
	b.ne	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_8 Depth=1
	tbz	w27, #0, LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	bl	_log_Discard
	b	LBB0_24
LBB0_32:                                ;   in Loop: Header=BB0_8 Depth=1
	tbz	w27, #0, LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	bl	_log_Keep
	b	LBB0_24
LBB0_34:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [x19, #16]
	mov	x0, x24
	bl	_log_DiscardLocal
	b	LBB0_24
LBB0_35:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [x19, #16]
	mov	x0, x24
	bl	_log_KeepLocal
	b	LBB0_24
LBB0_36:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_39
; %bb.37:
	add	x25, x25, #8
	subs	w26, w26, #1
	b.eq	LBB0_41
; %bb.38:
	ldr	x20, [x25]
	b	LBB0_2
LBB0_39:
Lloh13:
	adrp	x8, _LogWARN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log_Printf
	mov	w20, #1
	b	LBB0_43
LBB0_40:
	ldr	x8, [x19, #16]
LBB0_41:
	mov	x0, x8
	bl	_log_DiscardAllLocal
	mov	w27, #0
	cbnz	w26, LBB0_6
LBB0_42:
	mov	w20, #0
LBB0_43:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"local"

	.comm	_LogWARN,4,2                    ; @LogWARN
l_.str.1:                               ; @.str.1
	.asciz	"set log local: Only available on the command line\n"

l_.str.2:                               ; @.str.2
	.asciz	"all"

	.comm	_LogMIN,4,2                     ; @LogMIN
	.comm	_LogMAX,4,2                     ; @LogMAX
l_.str.3:                               ; @.str.3
	.asciz	"%s: Invalid log value\n"

.subsections_via_symbols
