	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function escape_http_request
_escape_http_request:                   ## @escape_http_request
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_16
## %bb.2:
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(,%rax,4), %edi
	callq	_xmalloc
	leaq	LJTI0_0(%rip), %rdx
	movq	%rax, %rcx
	jmp	LBB0_4
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movw	$8796, (%rcx)                   ## imm = 0x225C
	addq	$2, %rcx
	incq	%rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %esi
	cmpq	$34, %rsi
	ja	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%rdx,%rsi,4), %rdi
	addq	%rdx, %rdi
	jmpq	*%rdi
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movw	$29788, (%rcx)                  ## imm = 0x745C
	addq	$2, %rcx
	incq	%rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$92, %sil
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movw	$23644, (%rcx)                  ## imm = 0x5C5C
	addq	$2, %rcx
	incq	%rbx
	jmp	LBB0_4
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	leal	-127(%rsi), %edi
	cmpb	$-95, %dil
	jb	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	%sil, (%rcx)
	incq	%rcx
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	jmp	LBB0_4
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movw	$28252, (%rcx)                  ## imm = 0x6E5C
	addq	$2, %rcx
	incq	%rbx
	jmp	LBB0_4
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movw	$29276, (%rcx)                  ## imm = 0x725C
	addq	$2, %rcx
	incq	%rbx
	jmp	LBB0_4
LBB0_16:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_14:
	movb	$0, (%rcx)
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_escape_http_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function escape_http_request
_escape_http_request:                   ; @escape_http_request
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_16
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_15
; %bb.2:
	mov	x0, x19
	bl	_strlen
	mov	w8, #1
	bfi	w8, w0, #2, #30
	mov	x0, x8
	bl	_xmalloc
	mov	w8, #23644
	mov	w9, #29788
	mov	w10, #28252
	mov	w12, #29276
	mov	w13, #8796
	mov	x11, x0
Lloh0:
	adrp	x14, lJTI0_0@PAGE
Lloh1:
	add	x14, x14, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	strh	w13, [x11], #2
	add	x19, x19, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w15, [x19]
	cmp	w15, #34
	b.hi	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x16, LBB0_3
	ldrb	w17, [x14, x15]
	add	x16, x16, x17, lsl #2
	br	x16
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	strh	w9, [x11], #2
	add	x19, x19, #1
	b	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w15, #92
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	strh	w8, [x11], #2
	add	x19, x19, #1
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w16, w15, #127
	cmn	w16, #95
	b.lo	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	w15, [x11], #1
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	strh	w10, [x11], #2
	add	x19, x19, #1
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	strh	w12, [x11], #2
	add	x19, x19, #1
	b	LBB0_4
LBB0_14:
	strb	wzr, [x11]
	b	LBB0_16
LBB0_15:
	mov	x0, #0
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.no_dead_strip	_escape_http_request
.subsections_via_symbols
