	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __cache_size_refresh
___cache_size_refresh:                  ## @__cache_size_refresh
	.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	_dm_bufio_clients_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_is_locked
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movq	_dm_bufio_client_count@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	shrq	$63, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_BUG_ON
	movq	_dm_bufio_cache_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACCESS_ONCE
	movq	_dm_bufio_cache_size_latch@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_dm_bufio_default_cache_size@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_dm_bufio_cache_size@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_cmpxchg
	movl	(%r15), %eax
	movl	%eax, (%rbx)
LBB0_2:
	movslq	%eax, %rcx
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	movl	$1, %esi
	cmovneq	%rdx, %rsi
	movq	%rcx, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	movq	%rcx, %rax
	cqto
	idivq	%rsi
	jmp	LBB0_5
LBB0_3:
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	movq	_dm_bufio_cache_size_per_client@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dm_bufio_clients_lock,4,2      ## @dm_bufio_clients_lock
	.comm	_dm_bufio_client_count,8,3      ## @dm_bufio_client_count
	.comm	_dm_bufio_cache_size,4,2        ## @dm_bufio_cache_size
	.comm	_dm_bufio_cache_size_latch,4,2  ## @dm_bufio_cache_size_latch
	.comm	_dm_bufio_default_cache_size,4,2 ## @dm_bufio_default_cache_size
	.comm	_dm_bufio_cache_size_per_client,4,2 ## @dm_bufio_cache_size_per_client
	.no_dead_strip	___cache_size_refresh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cache_size_refresh
___cache_size_refresh:                  ; @__cache_size_refresh
	.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	x0, _dm_bufio_clients_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _dm_bufio_clients_lock@GOTPAGEOFF]
	bl	_mutex_is_locked
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh2:
	adrp	x19, _dm_bufio_client_count@GOTPAGE
Lloh3:
	ldr	x19, [x19, _dm_bufio_client_count@GOTPAGEOFF]
	ldr	x8, [x19]
	lsr	x0, x8, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_BUG_ON
Lloh4:
	adrp	x8, _dm_bufio_cache_size@GOTPAGE
Lloh5:
	ldr	x8, [x8, _dm_bufio_cache_size@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_ACCESS_ONCE
                                        ; kill: def $w0 killed $w0 def $x0
Lloh7:
	adrp	x20, _dm_bufio_cache_size_latch@GOTPAGE
Lloh8:
	ldr	x20, [x20, _dm_bufio_cache_size_latch@GOTPAGEOFF]
	str	w0, [x20]
	cbnz	w0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x21, _dm_bufio_default_cache_size@GOTPAGE
Lloh10:
	ldr	x21, [x21, _dm_bufio_default_cache_size@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh11:
	adrp	x0, _dm_bufio_cache_size@GOTPAGE
Lloh12:
	ldr	x0, [x0, _dm_bufio_cache_size@GOTPAGEOFF]
	mov	w1, #0
	bl	_cmpxchg
	ldr	w0, [x21]
	str	w0, [x20]
LBB0_2:
	sxtw	x8, w0
	ldr	x9, [x19]
	cmp	x9, #0
	csinc	x9, x9, xzr, ne
	sdiv	x8, x8, x9
Lloh13:
	adrp	x9, _dm_bufio_cache_size_per_client@GOTPAGE
Lloh14:
	ldr	x9, [x9, _dm_bufio_cache_size_per_client@GOTPAGEOFF]
Lloh15:
	str	w8, [x9]
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_dm_bufio_clients_lock,4,2      ; @dm_bufio_clients_lock
	.comm	_dm_bufio_client_count,8,3      ; @dm_bufio_client_count
	.comm	_dm_bufio_cache_size,4,2        ; @dm_bufio_cache_size
	.comm	_dm_bufio_cache_size_latch,4,2  ; @dm_bufio_cache_size_latch
	.comm	_dm_bufio_default_cache_size,4,2 ; @dm_bufio_default_cache_size
	.comm	_dm_bufio_cache_size_per_client,4,2 ; @dm_bufio_cache_size_per_client
	.no_dead_strip	___cache_size_refresh
.subsections_via_symbols
