	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_IsKeptLocal                ## -- Begin function log_IsKeptLocal
	.p2align	4, 0x90
_log_IsKeptLocal:                       ## @log_IsKeptLocal
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_LogMIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edi, (%rcx)
	jg	LBB0_9
## %bb.1:
	movl	%edi, %ebx
	movq	_LogMAX@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jl	LBB0_9
## %bb.2:
	movq	_LogMAXCONF@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jge	LBB0_4
## %bb.3:
	movq	_LOG_KEPT_LOCAL@GOTPCREL(%rip), %rcx
	movq	_LOG_KEPT_SYSLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	jmp	LBB0_9
LBB0_4:
	movl	%esi, %r15d
	movl	%ebx, %edi
	callq	_MSK
	movl	%eax, %r14d
	andl	%r15d, %r14d
	je	LBB0_6
## %bb.5:
	movq	_LOG_KEPT_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movq	_LogMask@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_MSK
	andl	%r15d, %eax
	je	LBB0_8
## %bb.7:
	movq	_LOG_KEPT_SYSLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	orl	%r14d, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogMIN,4,2                     ## @LogMIN
	.comm	_LogMAX,4,2                     ## @LogMAX
	.comm	_LogMAXCONF,4,2                 ## @LogMAXCONF
	.comm	_LOG_KEPT_LOCAL,4,2             ## @LOG_KEPT_LOCAL
	.comm	_LOG_KEPT_SYSLOG,4,2            ## @LOG_KEPT_SYSLOG
	.comm	_LogMask,4,2                    ## @LogMask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_IsKeptLocal                ; -- Begin function log_IsKeptLocal
	.p2align	2
_log_IsKeptLocal:                       ; @log_IsKeptLocal
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _LogMIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LogMIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LogMAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LogMAX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #8, le
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	mov	x19, x0
Lloh6:
	adrp	x8, _LogMAXCONF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LogMAXCONF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ge	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _LOG_KEPT_LOCAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOG_KEPT_LOCAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _LOG_KEPT_SYSLOG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LOG_KEPT_SYSLOG@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w0, w9, w8
	b	LBB0_5
LBB0_4:
	mov	x20, x1
	mov	x0, x19
	bl	_MSK
Lloh15:
	adrp	x8, _LOG_KEPT_LOCAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LOG_KEPT_LOCAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w0, w20
	csel	w20, wzr, w8, eq
Lloh18:
	adrp	x8, _LogMask@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LogMask@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_MSK
Lloh21:
	adrp	x8, _LOG_KEPT_SYSLOG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOG_KEPT_SYSLOG@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w0, w21
	csel	w8, wzr, w8, eq
	orr	w0, w8, w20
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_LogMIN,4,2                     ; @LogMIN
	.comm	_LogMAX,4,2                     ; @LogMAX
	.comm	_LogMAXCONF,4,2                 ; @LogMAXCONF
	.comm	_LOG_KEPT_LOCAL,4,2             ; @LOG_KEPT_LOCAL
	.comm	_LOG_KEPT_SYSLOG,4,2            ; @LOG_KEPT_SYSLOG
	.comm	_LogMask,4,2                    ; @LogMask
.subsections_via_symbols
