	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_var_update_state           ## -- Begin function log_var_update_state
	.p2align	4, 0x90
_log_var_update_state:                  ## @log_var_update_state
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %r14d
	movq	_log_var_names@GOTPCREL(%rip), %r12
	movq	(%r12), %r13
	movq	_ATOMIC_ACQUIRE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_log_init_done@GOTPCREL(%rip), %rdi
	callq	_atomic_load_b
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	movslq	%r14d, %r12
	addq	%r15, %r12
	movq	%r13, %rdi
	callq	_log_var_extract_segment
	movq	_JEMALLOC_LOG_VAR_BUFSIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	(%rbx), %rcx
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setb	%dil
	callq	_assert
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_log_var_matches_segment
	movq	_LOG_ENABLED@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	_log_var_names@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movq	%rbx, %rdi
	callq	_log_var_extract_segment
	movq	_JEMALLOC_LOG_VAR_BUFSIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	(%r14), %rcx
	movq	%rax, %r13
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setb	%dil
	callq	_assert
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_log_var_matches_segment
	movq	%r13, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	_LOG_ENABLED@GOTPCREL(%rip), %r14
	jmp	LBB0_8
LBB0_1:
	movq	_LOG_INITIALIZED_NOT_ENABLED@GOTPCREL(%rip), %r14
	jmp	LBB0_9
LBB0_7:
	movq	_LOG_INITIALIZED_NOT_ENABLED@GOTPCREL(%rip), %r14
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rdi
	movl	(%r14), %esi
	movq	_ATOMIC_RELAXED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_atomic_store_u
LBB0_9:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_log_var_names,8,3              ## @log_var_names
	.comm	_log_init_done,4,2              ## @log_init_done
	.comm	_ATOMIC_ACQUIRE,4,2             ## @ATOMIC_ACQUIRE
	.comm	_LOG_INITIALIZED_NOT_ENABLED,4,2 ## @LOG_INITIALIZED_NOT_ENABLED
	.comm	_JEMALLOC_LOG_VAR_BUFSIZE,4,2   ## @JEMALLOC_LOG_VAR_BUFSIZE
	.comm	_LOG_ENABLED,4,2                ## @LOG_ENABLED
	.comm	_ATOMIC_RELAXED,4,2             ## @ATOMIC_RELAXED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_var_update_state           ; -- Begin function log_var_update_state
	.p2align	2
_log_var_update_state:                  ; @log_var_update_state
	.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
	mov	x19, x0
	ldr	x20, [x0]
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
Lloh0:
	adrp	x24, _log_var_names@GOTPAGE
Lloh1:
	ldr	x24, [x24, _log_var_names@GOTPAGEOFF]
	ldr	x23, [x24]
Lloh2:
	adrp	x8, _ATOMIC_ACQUIRE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATOMIC_ACQUIRE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x0, _log_init_done@GOTPAGE
Lloh6:
	ldr	x0, [x0, _log_init_done@GOTPAGEOFF]
	bl	_atomic_load_b
	cbz	w0, LBB0_3
; %bb.1:
	add	x21, x20, w21, sxtw
	mov	x0, x23
	bl	_log_var_extract_segment
	mov	x22, x0
	ldr	x8, [x24]
Lloh7:
	adrp	x26, _JEMALLOC_LOG_VAR_BUFSIZE@GOTPAGE
Lloh8:
	ldr	x26, [x26, _JEMALLOC_LOG_VAR_BUFSIZE@GOTPAGEOFF]
	ldrsw	x9, [x26]
	add	x8, x8, x9
	cmp	x0, x8
	cset	w0, lo
	bl	_assert
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_log_var_matches_segment
	cbz	x0, LBB0_4
; %bb.2:
Lloh9:
	adrp	x25, _LOG_ENABLED@GOTPAGE
Lloh10:
	ldr	x25, [x25, _LOG_ENABLED@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh11:
	adrp	x25, _LOG_INITIALIZED_NOT_ENABLED@GOTPAGE
Lloh12:
	ldr	x25, [x25, _LOG_INITIALIZED_NOT_ENABLED@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
Lloh13:
	adrp	x27, _LOG_INITIALIZED_NOT_ENABLED@GOTPAGE
Lloh14:
	ldr	x27, [x27, _LOG_INITIALIZED_NOT_ENABLED@GOTPAGEOFF]
Lloh15:
	adrp	x25, _LOG_ENABLED@GOTPAGE
Lloh16:
	ldr	x25, [x25, _LOG_ENABLED@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22]
	cbz	w8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x22, #1
	mov	x0, x23
	bl	_log_var_extract_segment
	mov	x22, x0
	ldr	x8, [x24]
	ldrsw	x9, [x26]
	add	x8, x8, x9
	cmp	x0, x8
	cset	w0, lo
	bl	_assert
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_log_var_matches_segment
	cbz	x0, LBB0_5
	b	LBB0_8
LBB0_7:
	mov	x25, x27
LBB0_8:
	add	x0, x19, #8
	ldr	w1, [x25]
Lloh17:
	adrp	x8, _ATOMIC_RELAXED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ATOMIC_RELAXED@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_atomic_store_u
LBB0_9:
	ldr	w0, [x25]
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_log_var_names,8,3              ; @log_var_names
	.comm	_log_init_done,4,2              ; @log_init_done
	.comm	_ATOMIC_ACQUIRE,4,2             ; @ATOMIC_ACQUIRE
	.comm	_LOG_INITIALIZED_NOT_ENABLED,4,2 ; @LOG_INITIALIZED_NOT_ENABLED
	.comm	_JEMALLOC_LOG_VAR_BUFSIZE,4,2   ; @JEMALLOC_LOG_VAR_BUFSIZE
	.comm	_LOG_ENABLED,4,2                ; @LOG_ENABLED
	.comm	_ATOMIC_RELAXED,4,2             ; @ATOMIC_RELAXED
.subsections_via_symbols
