	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uuid_to_string                 ## -- Begin function uuid_to_string
	.p2align	4, 0x90
_uuid_to_string:                        ## @uuid_to_string
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_uuid_s_ok@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.3:
	movl	$37, %edi
	callq	_malloc
	movq	%rax, (%rbx)
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	testq	%r15, %r15
	jne	LBB0_8
## %bb.7:
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_uuid_create_nil
LBB0_8:
	movl	24(%r15), %edx
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_tohex
	movq	-32(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -32(%rbp)
	movb	$45, (%rax)
	movl	20(%r15), %edx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_tohex
	movq	-32(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -32(%rbp)
	movb	$45, (%rax)
	movl	16(%r15), %edx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_tohex
	movq	-32(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -32(%rbp)
	movb	$45, (%rax)
	movl	12(%r15), %edx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_tohex
	movl	8(%r15), %edx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_tohex
	movq	-32(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -32(%rbp)
	movb	$45, (%rax)
	movq	(%r15), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_tohex
	movq	(%r15), %rax
	movl	4(%rax), %edx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_tohex
	movq	(%r15), %rax
	movl	8(%rax), %edx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_tohex
	movq	(%r15), %rax
	movl	12(%rax), %edx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_tohex
	movq	(%r15), %rax
	movl	16(%rax), %edx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_tohex
	movq	(%r15), %rax
	movl	20(%rax), %edx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_tohex
	movq	-32(%rbp), %rax
	movb	$0, (%rax)
	jmp	LBB0_9
LBB0_4:
	testq	%r14, %r14
	je	LBB0_9
## %bb.5:
	movq	_uuid_s_no_memory@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uuid_s_ok,4,2                  ## @uuid_s_ok
	.comm	_uuid_s_no_memory,4,2           ## @uuid_s_no_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uuid_to_string                 ; -- Begin function uuid_to_string
	.p2align	2
_uuid_to_string:                        ; @uuid_to_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _uuid_s_ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uuid_s_ok@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_2:
	cbz	x21, LBB0_9
; %bb.3:
	mov	w0, #37
	bl	_malloc
	str	x0, [x21]
	str	x0, [sp, #8]
	cbz	x0, LBB0_7
; %bb.4:
	cbnz	x19, LBB0_6
; %bb.5:
	add	x19, sp, #16
	add	x0, sp, #16
	mov	x1, #0
	bl	_uuid_create_nil
LBB0_6:
	ldr	w2, [x19, #24]
	add	x0, sp, #8
	mov	w1, #8
	bl	_tohex
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	mov	w20, #45
	strb	w20, [x8]
	ldr	w2, [x19, #20]
	add	x0, sp, #8
	mov	w1, #4
	bl	_tohex
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	strb	w20, [x8]
	ldr	w2, [x19, #16]
	add	x0, sp, #8
	mov	w1, #4
	bl	_tohex
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	strb	w20, [x8]
	ldr	w2, [x19, #12]
	add	x0, sp, #8
	mov	w1, #2
	bl	_tohex
	ldr	w2, [x19, #8]
	add	x0, sp, #8
	mov	w1, #2
	bl	_tohex
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	strb	w20, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #2
	bl	_tohex
	ldr	x8, [x19]
	ldr	w2, [x8, #4]
	add	x0, sp, #8
	mov	w1, #2
	bl	_tohex
	ldr	x8, [x19]
	ldr	w2, [x8, #8]
	add	x0, sp, #8
	mov	w1, #2
	bl	_tohex
	ldr	x8, [x19]
	ldr	w2, [x8, #12]
	add	x0, sp, #8
	mov	w1, #2
	bl	_tohex
	ldr	x8, [x19]
	ldr	w2, [x8, #16]
	add	x0, sp, #8
	mov	w1, #2
	bl	_tohex
	ldr	x8, [x19]
	ldr	w2, [x8, #20]
	add	x0, sp, #8
	mov	w1, #2
	bl	_tohex
	ldr	x8, [sp, #8]
	strb	wzr, [x8]
	b	LBB0_9
LBB0_7:
	cbz	x20, LBB0_9
; %bb.8:
Lloh3:
	adrp	x8, _uuid_s_no_memory@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uuid_s_no_memory@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_9:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_uuid_s_ok,4,2                  ; @uuid_s_ok
	.comm	_uuid_s_no_memory,4,2           ; @uuid_s_no_memory
.subsections_via_symbols
