	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function append_normalized_escapes
_append_normalized_escapes:             ## @append_normalized_escapes
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.1:
	movq	%rdx, %r12
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	1(%rax), %rdi
	movsbl	(%rax), %r13d
	leaq	-1(%r12), %rax
	cmpl	$37, %r13d
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	cmpq	$2, %rax
	jb	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_hex2chr
	testl	%eax, %eax
	js	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r15d
	addq	$3, -48(%rbp)                   ## 8-byte Folded Spill
	addq	$-3, %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r15d
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%r15b, %r14d
	leal	-127(%r14), %eax
	cmpl	$-95, %eax
	jb	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_URL_UNSAFE_CHARS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%r15d, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_strbuf_addf
	testq	%r12, %r12
	jne	LBB0_2
	jmp	LBB0_16
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$37, %r13b
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_strbuf_addch
	testq	%r12, %r12
	jne	LBB0_2
LBB0_16:
	movl	$1, %r14d
LBB0_17:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_URL_UNSAFE_CHARS,8,3           ## @URL_UNSAFE_CHARS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%%%02X"

	.no_dead_strip	_append_normalized_escapes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_normalized_escapes
_append_normalized_escapes:             ; @append_normalized_escapes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x2, LBB0_15
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x24, x1
	mov	x21, x0
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
Lloh2:
	adrp	x27, _URL_UNSAFE_CHARS@GOTPAGE
Lloh3:
	ldr	x27, [x27, _URL_UNSAFE_CHARS@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_strchr
	cbz	x0, LBB0_14
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x26
	bl	_strbuf_addf
	cbz	x22, LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	ldrsb	w28, [x0], #1
	sub	x8, x22, #1
	cmp	w28, #37
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, #2
	b.lo	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_hex2chr
	tbnz	w0, #31, LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	add	x24, x24, #3
	sub	x22, x22, #3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x8
	mov	x24, x0
	mov	x25, x28
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w26, w25, #0xff
	sub	w8, w26, #127
	cmn	w8, #95
	b.lo	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x27]
	mov	x1, x25
	bl	_strchr
	cbnz	x0, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	x20, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_strchr
	cbnz	x0, LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w28, #37
	b.eq	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x25
	bl	_strbuf_addch
	cbnz	x22, LBB0_4
LBB0_15:
	mov	w0, #1
	b	LBB0_17
LBB0_16:
	mov	w0, #0
LBB0_17:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_URL_UNSAFE_CHARS,8,3           ; @URL_UNSAFE_CHARS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%%%02X"

	.no_dead_strip	_append_normalized_escapes
.subsections_via_symbols
