	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_printf_encode                  ## -- Begin function printf_encode
	.p2align	4, 0x90
_printf_encode:                         ## @printf_encode
	.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
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.1:
	movq	%rsi, %r12
	cmpq	$5, %rsi
	jl	LBB0_17
## %bb.2:
	movq	%rcx, %r14
	movq	%rdx, %r15
	addq	%rbx, %r12
	movl	$1, %r13d
	leaq	LJTI0_0(%rip), %rdx
	jmp	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movw	$29788, (%rbx)                  ## imm = 0x745C
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %rbx
	cmpq	%r14, %r13
	jae	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	4(%rbx), %rax
	incq	%r13
	cmpq	%r12, %rax
	jae	LBB0_17
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%r15,%r13,4), %ecx
	leal	-9(%rcx), %eax
	cmpl	$25, %eax
	ja	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movw	$28252, (%rbx)                  ## imm = 0x6E5C
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$92, %ecx
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movw	$23644, (%rbx)                  ## imm = 0x5C5C
	jmp	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	-32(%rcx), %eax
	cmpl	$94, %eax
	ja	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movb	%cl, (%rbx)
	incq	%rbx
	cmpq	%r14, %r13
	jb	LBB0_16
	jmp	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movw	$29276, (%rbx)                  ## imm = 0x725C
	jmp	LBB0_8
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movw	$25948, (%rbx)                  ## imm = 0x655C
	jmp	LBB0_8
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movw	$8796, (%rbx)                   ## imm = 0x225C
	jmp	LBB0_8
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_os_snprintf
	leaq	LJTI0_0(%rip), %rdx
	cltq
	addq	%rax, %rbx
	cmpq	%r14, %r13
	jb	LBB0_16
LBB0_17:
	movb	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_12
	.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_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_14
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\x%02x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_printf_encode                  ; -- Begin function printf_encode
	.p2align	2
_printf_encode:                         ; @printf_encode
	.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
	mov	x19, x0
	cbz	x3, LBB0_17
; %bb.1:
	cmp	x1, #5
	b.lt	LBB0_17
; %bb.2:
	mov	x20, x3
	mov	x21, x2
	mov	x23, #0
	add	x24, x19, x1
	mov	w11, #29788
	mov	w27, #28252
	mov	w28, #29276
	mov	w22, #25948
	mov	w25, #8796
Lloh0:
	adrp	x26, lJTI0_0@PAGE
Lloh1:
	add	x26, x26, lJTI0_0@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x21, x23, lsl #2]
	sub	w8, w3, #9
	cmp	w8, #25
	b.hi	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_5
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	strh	w11, [x19], #2
	b	LBB0_15
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w3, #92
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #23644
	strh	w8, [x19], #2
	b	LBB0_15
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w3, #32
	cmp	w8, #94
	b.hi	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	w3, [x19], #1
	b	LBB0_15
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	strh	w27, [x19], #2
	b	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	strh	w28, [x19], #2
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	strh	w22, [x19], #2
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	strh	w25, [x19], #2
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w1, w24, w19
	mov	x0, x19
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_os_snprintf
	mov	w11, #29788
	add	x19, x19, w0, sxtw
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	cmp	x23, x20
	b.hs	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x19, #4
	cmp	x8, x24
	b.lo	LBB0_3
LBB0_17:
	strb	wzr, [x19]
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\x%02x"

.subsections_via_symbols
