	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msg_create
_msg_create:                            ## @msg_create
	.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	%rsi, %r15
	movq	%rdi, %r14
	movl	$32, %esi
	callq	_regional_alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movl	8(%r15), %edx
	movl	12(%r15), %esi
	movq	%r14, %rdi
	callq	_regional_alloc_init
	movl	%eax, 28(%rbx)
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movl	8(%r15), %eax
	movl	%eax, 24(%rbx)
	movl	4(%r15), %eax
	movl	%eax, 20(%rbx)
	movl	(%r15), %eax
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_regional_alloc_zero
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_BIT_QR@GOTPCREL(%rip), %rcx
	movq	_BIT_AA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movslq	%edx, %rcx
	movq	%rcx, 8(%rax)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax)
	jmp	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIT_QR,4,2                     ## @BIT_QR
	.comm	_BIT_AA,4,2                     ## @BIT_AA
	.no_dead_strip	_msg_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msg_create
_msg_create:                            ; @msg_create
	.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
	mov	x21, x1
	mov	x20, x0
	mov	w1, #32
	bl	_regional_alloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	ldp	w2, w1, [x21, #8]
	mov	x0, x20
	bl	_regional_alloc_init
	str	w0, [x19, #28]
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x21, #8]
	str	w8, [x19, #24]
	ldr	d0, [x21]
	str	d0, [x19, #16]
	str	xzr, [x19, #8]
	mov	x0, x20
	mov	w1, #12
	bl	_regional_alloc_zero
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _BIT_QR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIT_QR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BIT_AA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BIT_AA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	sxtw	x8, w8
	str	x8, [x0, #8]
	movi.2s	v0, #1
	str	d0, [x0]
	b	LBB0_5
LBB0_4:
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_BIT_QR,4,2                     ; @BIT_QR
	.comm	_BIT_AA,4,2                     ; @BIT_AA
	.no_dead_strip	_msg_create
.subsections_via_symbols
