	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_uuid_s_ok@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_2:
	testq	%r14, %r14
	je	LBB0_8
## %bb.3:
	testq	%rbx, %rbx
	jne	LBB0_5
## %bb.4:
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_uuid_create_nil
LBB0_5:
	movl	24(%rbx), %edx
	movl	20(%rbx), %ecx
	movl	16(%rbx), %r8d
	movl	12(%rbx), %r9d
	movl	8(%rbx), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rsi
	movl	(%rsi), %r11d
	movl	4(%rsi), %r12d
	movl	8(%rsi), %r13d
	movl	12(%rsi), %eax
	movl	16(%rsi), %ebx
	movl	20(%rsi), %r10d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	pushq	%r10
	pushq	%rbx
	pushq	%rax
	pushq	%r13
	pushq	%r12
	pushq	%r11
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_asprintf
	addq	$64, %rsp
	testq	%r15, %r15
	je	LBB0_8
## %bb.6:
	cmpq	$0, (%r14)
	jne	LBB0_8
## %bb.7:
	movq	_uuid_s_no_memory@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uuid_s_ok,4,2                  ## @uuid_s_ok
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x"

	.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, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x2
	mov	x20, x1
	mov	x21, 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, [x19]
LBB0_2:
	cbz	x20, LBB0_8
; %bb.3:
	cbnz	x21, LBB0_5
; %bb.4:
	add	x21, sp, #32
	add	x0, sp, #32
	mov	x1, #0
	bl	_uuid_create_nil
LBB0_5:
	ldp	w3, w2, [x21, #20]
	ldp	w5, w4, [x21, #12]
	ldr	w6, [x21, #8]
	ldr	x8, [x21]
	ldr	w7, [x8]
	ldur	q0, [x8, #4]
	ldr	w8, [x8, #20]
	str	w8, [sp, #16]
	str	q0, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_asprintf
	cbz	x19, LBB0_8
; %bb.6:
	ldr	x8, [x20]
	cbnz	x8, LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _uuid_s_no_memory@GOTPAGE
Lloh6:
	ldr	x8, [x8, _uuid_s_no_memory@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_uuid_s_ok,4,2                  ; @uuid_s_ok
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x"

	.comm	_uuid_s_no_memory,4,2           ; @uuid_s_no_memory
.subsections_via_symbols
