	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function attr_value_unescape
_attr_value_unescape:                   ## @attr_value_unescape
	.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	%rdi, %rbx
	callq	_strlen
	movl	%eax, %edi
	callq	_xmallocz
	movq	%rax, %r14
	leaq	L_.str(%rip), %r15
	leaq	L_.str.1(%rip), %r12
	movq	%rax, %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rbx), %eax
	movb	%al, (%r13)
	incq	%rbx
	incq	%r13
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$92, %al
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	jne	LBB0_6
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	__
	movslq	%eax, %rdi
	xorl	%eax, %eax
	callq	_die
	movzbl	(%rbx), %eax
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movsbl	%al, %edi
	callq	_invalid_value_char
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movsbl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_8
LBB0_3:
	movb	$0, (%r13)
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Escape character '\\' not allowed as last character in attr value"

L_.str.1:                               ## @.str.1
	.asciz	"cannot use '%c' for value matching"

	.no_dead_strip	_attr_value_unescape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function attr_value_unescape
_attr_value_unescape:                   ; @attr_value_unescape
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	bl	_strlen
	bl	_xmallocz
	mov	x20, x0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x23, x0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x19], #1
	strb	w8, [x23], #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19]
	cmp	w8, #92
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w8, LBB0_6
	b	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x19, #1]!
	cbnz	w8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_die
	ldrb	w8, [x19]
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w0, w8
	bl	_invalid_value_char
	cbz	x0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsb	x8, [x19]
	str	x8, [sp]
	mov	x0, x22
	bl	_die
	b	LBB0_1
LBB0_8:
	strb	wzr, [x23]
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Escape character '\\' not allowed as last character in attr value"

l_.str.1:                               ; @.str.1
	.asciz	"cannot use '%c' for value matching"

	.no_dead_strip	_attr_value_unescape
.subsections_via_symbols
