	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_str_to_uuid
_acpi_str_to_uuid:                      ## @acpi_str_to_uuid
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_strlen
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %r15
	cmpl	$36, %eax
	jne	LBB0_10
## %bb.1:
	xorl	%ebx, %ebx
	movl	$8659200, %r13d                 ## imm = 0x842100
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%r12,%rbx), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	$36, %rbx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$23, %ebx
	ja	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	btl	%ebx, %r13d
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$45, (%r12,%rbx)
	je	LBB0_6
	jmp	LBB0_10
LBB0_7:
	xorl	%ebx, %ebx
	leaq	_acpi_str_to_uuid.opc_map_to_uuid(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rbx,%r13), %r15
	movsbl	(%r12,%r15), %edi
	callq	_hex_val
	shll	$4, %eax
	movl	%eax, (%r14,%rbx)
	movsbl	1(%r12,%r15), %edi
	callq	_hex_val
	orl	%eax, (%r14,%rbx)
	addq	$4, %rbx
	cmpq	$64, %rbx
	jne	LBB0_8
## %bb.9:
	movq	_AE_OK@GOTPCREL(%rip), %r15
LBB0_10:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @acpi_str_to_uuid.opc_map_to_uuid
_acpi_str_to_uuid.opc_map_to_uuid:
	.long	6                               ## 0x6
	.long	4                               ## 0x4
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	11                              ## 0xb
	.long	9                               ## 0x9
	.long	16                              ## 0x10
	.long	14                              ## 0xe
	.long	19                              ## 0x13
	.long	21                              ## 0x15
	.long	24                              ## 0x18
	.long	26                              ## 0x1a
	.long	28                              ## 0x1c
	.long	30                              ## 0x1e
	.long	32                              ## 0x20
	.long	34                              ## 0x22

	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_AE_OK,4,2                      ## @AE_OK
	.no_dead_strip	_acpi_str_to_uuid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_str_to_uuid
_acpi_str_to_uuid:                      ; @acpi_str_to_uuid
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	bl	_strlen
	cmp	w0, #36
	b.ne	LBB0_7
; %bb.1:
	mov	x22, #0
Lloh0:
	adrp	x21, _AE_BAD_PARAMETER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AE_BAD_PARAMETER@GOTPAGEOFF]
	mov	w23, #1
	mov	w24, #8448
	movk	w24, #132, lsl #16
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x20, x22]
	bl	_isxdigit
	cbz	w0, LBB0_10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	cmp	x22, #36
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w22, #23
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w8, w23, w22
	tst	w8, w24
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20, x22]
	cmp	w8, #45
	b.eq	LBB0_3
	b	LBB0_10
LBB0_7:
Lloh2:
	adrp	x21, _AE_BAD_PARAMETER@GOTPAGE
Lloh3:
	ldr	x21, [x21, _AE_BAD_PARAMETER@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	x22, #0
Lloh4:
	adrp	x23, _acpi_str_to_uuid.opc_map_to_uuid@PAGE
Lloh5:
	add	x23, x23, _acpi_str_to_uuid.opc_map_to_uuid@PAGEOFF
Lloh6:
	adrp	x21, _AE_OK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _AE_OK@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x23, x22]
	add	x24, x20, x8
	ldrsb	w0, [x24]
	bl	_hex_val
	lsl	w8, w0, #4
	str	w8, [x19, x22]
	ldrsb	w0, [x24, #1]
	bl	_hex_val
	ldr	w8, [x19, x22]
	orr	w8, w8, w0
	str	w8, [x19, x22]
	add	x22, x22, #4
	cmp	x22, #64
	b.ne	LBB0_9
LBB0_10:
	ldr	w0, [x21]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @acpi_str_to_uuid.opc_map_to_uuid
_acpi_str_to_uuid.opc_map_to_uuid:
	.long	6                               ; 0x6
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	11                              ; 0xb
	.long	9                               ; 0x9
	.long	16                              ; 0x10
	.long	14                              ; 0xe
	.long	19                              ; 0x13
	.long	21                              ; 0x15
	.long	24                              ; 0x18
	.long	26                              ; 0x1a
	.long	28                              ; 0x1c
	.long	30                              ; 0x1e
	.long	32                              ; 0x20
	.long	34                              ; 0x22

	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_AE_OK,4,2                      ; @AE_OK
	.no_dead_strip	_acpi_str_to_uuid
.subsections_via_symbols
