	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_msg_buffers               ## -- Begin function init_msg_buffers
	.p2align	4, 0x90
_init_msg_buffers:                      ## @init_msg_buffers
	.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	_max_allocated_buffer_bytes@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	movq	_MSG_DEFAULT_MAX_ALLOCATED_BYTES@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_2:
	testq	%rdi, %rdi
	cmovneq	%rdi, %rbx
	testq	%rbx, %rbx
	setns	%al
	movq	_MSG_MAX_ALLOCATED_BYTES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	setle	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	_allocated_buffer_chunks@GOTPCREL(%rip), %rax
	movq	_MSG_BUFFERS_CHUNK_SIZE@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	imulq	(%rax), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rbx
	setge	%dil
	callq	_assert
	movq	%rbx, (%r14)
	movq	(%r15), %rcx
	movq	%rbx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_5
LBB0_3:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	movq	_max_buffer_chunks@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_buffer_size_values@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_init_buffer_chunk_headers
LBB0_7:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_max_allocated_buffer_bytes,8,3 ## @max_allocated_buffer_bytes
	.comm	_MSG_DEFAULT_MAX_ALLOCATED_BYTES,8,3 ## @MSG_DEFAULT_MAX_ALLOCATED_BYTES
	.comm	_MSG_MAX_ALLOCATED_BYTES,8,3    ## @MSG_MAX_ALLOCATED_BYTES
	.comm	_allocated_buffer_chunks,8,3    ## @allocated_buffer_chunks
	.comm	_MSG_BUFFERS_CHUNK_SIZE,8,3     ## @MSG_BUFFERS_CHUNK_SIZE
	.comm	_max_buffer_chunks,8,3          ## @max_buffer_chunks
	.comm	_buffer_size_values,4,2         ## @buffer_size_values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_msg_buffers               ; -- Begin function init_msg_buffers
	.p2align	2
_init_msg_buffers:                      ; @init_msg_buffers
	.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	x19, _max_allocated_buffer_bytes@GOTPAGE
Lloh1:
	ldr	x19, [x19, _max_allocated_buffer_bytes@GOTPAGEOFF]
Lloh2:
	adrp	x8, _MSG_DEFAULT_MAX_ALLOCATED_BYTES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_DEFAULT_MAX_ALLOCATED_BYTES@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh4:
	ldr	x8, [x8]
	cmp	x9, #0
	csel	x8, x8, x9, eq
	cmp	x0, #0
	csel	x20, x8, x0, eq
	cmp	x20, #0
Lloh5:
	adrp	x8, _MSG_MAX_ALLOCATED_BYTES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_MAX_ALLOCATED_BYTES@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ccmp	x20, x8, #0, ge
	cset	w0, le
	bl	_assert
Lloh8:
	adrp	x8, _allocated_buffer_chunks@GOTPAGE
Lloh9:
	ldr	x8, [x8, _allocated_buffer_chunks@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x21, _MSG_BUFFERS_CHUNK_SIZE@GOTPAGE
Lloh12:
	ldr	x21, [x21, _MSG_BUFFERS_CHUNK_SIZE@GOTPAGEOFF]
	ldr	x9, [x21]
	mul	x8, x9, x8
	cmp	x20, x8
	cset	w0, ge
	bl	_assert
	str	x20, [x19]
	ldr	x8, [x21]
	udiv	x8, x20, x8
Lloh13:
	adrp	x9, _max_buffer_chunks@GOTPAGE
Lloh14:
	ldr	x9, [x9, _max_buffer_chunks@GOTPAGEOFF]
Lloh15:
	str	x8, [x9]
Lloh16:
	adrp	x8, _buffer_size_values@GOTPAGE
Lloh17:
	ldr	x8, [x8, _buffer_size_values@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_init_buffer_chunk_headers
LBB0_2:
	mov	w0, #1
	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	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_max_allocated_buffer_bytes,8,3 ; @max_allocated_buffer_bytes
	.comm	_MSG_DEFAULT_MAX_ALLOCATED_BYTES,8,3 ; @MSG_DEFAULT_MAX_ALLOCATED_BYTES
	.comm	_MSG_MAX_ALLOCATED_BYTES,8,3    ; @MSG_MAX_ALLOCATED_BYTES
	.comm	_allocated_buffer_chunks,8,3    ; @allocated_buffer_chunks
	.comm	_MSG_BUFFERS_CHUNK_SIZE,8,3     ; @MSG_BUFFERS_CHUNK_SIZE
	.comm	_max_buffer_chunks,8,3          ; @max_buffer_chunks
	.comm	_buffer_size_values,4,2         ; @buffer_size_values
.subsections_via_symbols
