	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uuid_from_string               ## -- Begin function uuid_from_string
	.p2align	4, 0x90
_uuid_from_string:                      ## @uuid_from_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	$1, -36(%rbp)
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_19
## %bb.2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	_uuid_s_invalid_string_uuid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_4:
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$36, %eax
	jne	LBB0_18
## %bb.5:
	cmpb	$45, 8(%rbx)
	jne	LBB0_18
## %bb.6:
	cmpb	$45, 13(%rbx)
	jne	LBB0_18
## %bb.7:
	cmpb	$45, 18(%rbx)
	jne	LBB0_18
## %bb.8:
	cmpb	$45, 23(%rbx)
	jne	LBB0_18
## %bb.9:
	leaq	-36(%rbp), %r12
	movq	%rbx, %rdi
	movl	$8, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movq	%rax, 40(%r14)
	leaq	9(%rbx), %rdi
	movl	$4, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movq	%rax, 32(%r14)
	leaq	14(%rbx), %rdi
	movl	$4, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movq	%rax, 24(%r14)
	leaq	19(%rbx), %rdi
	movl	$2, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movl	%eax, (%r14)
	leaq	21(%rbx), %rdi
	movl	$2, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movq	%rax, 16(%r14)
	leaq	24(%rbx), %rdi
	movl	$2, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movq	8(%r14), %rcx
	movq	%rax, (%rcx)
	leaq	26(%rbx), %rdi
	movl	$2, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movq	8(%r14), %rcx
	movq	%rax, 8(%rcx)
	leaq	28(%rbx), %rdi
	movl	$2, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movq	8(%r14), %rcx
	movq	%rax, 16(%rcx)
	leaq	30(%rbx), %rdi
	movl	$2, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movq	8(%r14), %rcx
	movq	%rax, 24(%rcx)
	leaq	32(%rbx), %rdi
	movl	$2, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movq	8(%r14), %rcx
	movq	%rax, 32(%rcx)
	addq	$34, %rbx
	movq	%rbx, %rdi
	movl	$2, %esi
	movq	%r12, %rdx
	callq	_fromhex
	movq	8(%r14), %rcx
	movq	%rax, 40(%rcx)
	cmpl	$0, -36(%rbp)
	je	LBB0_18
## %bb.10:
	movl	(%r14), %eax
	testb	$-128, %al
	je	LBB0_15
## %bb.11:
	movl	%eax, %ecx
	andl	$192, %ecx
	cmpl	$128, %ecx
	je	LBB0_15
## %bb.12:
	andl	$224, %eax
	cmpl	$192, %eax
	je	LBB0_15
## %bb.13:
	testq	%r15, %r15
	je	LBB0_18
## %bb.14:
	movq	_uuid_s_bad_version@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_19:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_uuid_create_nil                ## TAILCALL
LBB0_15:
	testq	%r15, %r15
	je	LBB0_18
## %bb.16:
	movq	_uuid_s_ok@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_18:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uuid_s_invalid_string_uuid,4,2 ## @uuid_s_invalid_string_uuid
	.comm	_uuid_s_bad_version,4,2         ## @uuid_s_bad_version
	.comm	_uuid_s_ok,4,2                  ## @uuid_s_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uuid_from_string               ; -- Begin function uuid_from_string
	.p2align	2
_uuid_from_string:                      ; @uuid_from_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w8, #1
	str	w8, [sp, #12]
	cbz	x0, LBB0_15
; %bb.1:
	mov	x21, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_15
; %bb.2:
	cbz	x19, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _uuid_s_invalid_string_uuid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uuid_s_invalid_string_uuid@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_4:
	mov	x0, x21
	bl	_strlen
	cmp	w0, #36
	b.ne	LBB0_19
; %bb.5:
	ldrb	w8, [x21, #8]
	cmp	w8, #45
	b.ne	LBB0_19
; %bb.6:
	ldrb	w8, [x21, #13]
	cmp	w8, #45
	b.ne	LBB0_19
; %bb.7:
	ldrb	w8, [x21, #18]
	cmp	w8, #45
	b.ne	LBB0_19
; %bb.8:
	ldrb	w8, [x21, #23]
	cmp	w8, #45
	b.ne	LBB0_19
; %bb.9:
	add	x2, sp, #12
	mov	x0, x21
	mov	w1, #8
	bl	_fromhex
	str	x0, [x20, #40]
	add	x0, x21, #9
	add	x2, sp, #12
	mov	w1, #4
	bl	_fromhex
	str	x0, [x20, #32]
	add	x0, x21, #14
	add	x2, sp, #12
	mov	w1, #4
	bl	_fromhex
	str	x0, [x20, #24]
	add	x0, x21, #19
	add	x2, sp, #12
	mov	w1, #2
	bl	_fromhex
	str	w0, [x20]
	add	x0, x21, #21
	add	x2, sp, #12
	mov	w1, #2
	bl	_fromhex
	str	x0, [x20, #16]
	add	x0, x21, #24
	add	x2, sp, #12
	mov	w1, #2
	bl	_fromhex
	ldr	x8, [x20, #8]
	str	x0, [x8]
	add	x0, x21, #26
	add	x2, sp, #12
	mov	w1, #2
	bl	_fromhex
	ldr	x8, [x20, #8]
	str	x0, [x8, #8]
	add	x0, x21, #28
	add	x2, sp, #12
	mov	w1, #2
	bl	_fromhex
	ldr	x8, [x20, #8]
	str	x0, [x8, #16]
	add	x0, x21, #30
	add	x2, sp, #12
	mov	w1, #2
	bl	_fromhex
	ldr	x8, [x20, #8]
	str	x0, [x8, #24]
	add	x0, x21, #32
	add	x2, sp, #12
	mov	w1, #2
	bl	_fromhex
	ldr	x8, [x20, #8]
	str	x0, [x8, #32]
	add	x0, x21, #34
	add	x2, sp, #12
	mov	w1, #2
	bl	_fromhex
	ldr	x8, [x20, #8]
	str	x0, [x8, #40]
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_19
; %bb.10:
	ldr	w8, [x20]
	tbz	w8, #7, LBB0_16
; %bb.11:
	and	w9, w8, #0xc0
	cmp	w9, #128
	b.eq	LBB0_16
; %bb.12:
	and	w8, w8, #0xe0
	cmp	w8, #192
	b.eq	LBB0_16
; %bb.13:
	cbz	x19, LBB0_19
; %bb.14:
Lloh3:
	adrp	x8, _uuid_s_bad_version@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uuid_s_bad_version@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_uuid_create_nil
LBB0_16:
	cbz	x19, LBB0_19
; %bb.17:
Lloh5:
	adrp	x8, _uuid_s_ok@GOTPAGE
Lloh6:
	ldr	x8, [x8, _uuid_s_ok@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_uuid_s_invalid_string_uuid,4,2 ; @uuid_s_invalid_string_uuid
	.comm	_uuid_s_bad_version,4,2         ; @uuid_s_bad_version
	.comm	_uuid_s_ok,4,2                  ; @uuid_s_ok
.subsections_via_symbols
