	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetEscape
_SetEscape:                             ## @SetEscape
	.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, %r12
	movl	(%rdi), %r13d
	movslq	4(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	16(%rdi), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movl	$0, -44(%rbp)
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%esi, %rsi
	movl	$0, (%rdx,%rsi,4)
	movl	-44(%rbp), %edi
	leal	1(%rdi), %esi
	movl	%esi, -44(%rbp)
	cmpl	$32, %edi
	jl	LBB0_1
## %bb.2:
	cmpl	%eax, %r13d
	jle	LBB0_5
## %bb.3:
	leaq	(%rcx,%rax,8), %rbx
	subl	%eax, %r13d
	incl	%r13d
	leaq	L_.str(%rip), %r14
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	addq	$8, %rbx
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_sscanf
	movl	-44(%rbp), %eax
	movzbl	%al, %eax
	movl	%eax, %ecx
	andb	$7, %cl
	movl	$1, %edx
	shll	%cl, %edx
	movl	%eax, -44(%rbp)
	movq	16(%r12), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	shrq	$3, %rax
	orl	%edx, (%rcx,%rax,4)
	movl	$1, 128(%rcx)
	decl	%r13d
	cmpl	$1, %r13d
	ja	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	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	"%x"

	.no_dead_strip	_SetEscape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetEscape
_SetEscape:                             ; @SetEscape
	.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
	mov	w11, #0
	ldp	w8, w9, [x0]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	ldp	x10, x12, [x0, #8]
	ldr	x12, [x12]
	ldr	x12, [x12]
	str	wzr, [sp, #12]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x12, w11, sxtw #2]
	ldr	w13, [sp, #12]
	add	w11, w13, #1
	str	w11, [sp, #12]
	cmp	w13, #32
	b.lt	LBB0_1
; %bb.2:
	sub	w11, w8, w9
	cmp	w11, #1
	b.lt	LBB0_5
; %bb.3:
	add	x21, x10, x9, lsl #3
	sub	w8, w8, w9
	add	w22, w8, #1
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	mov	w23, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21], #8
	add	x2, sp, #12
	mov	x1, x20
	bl	_sscanf
	ldrb	w8, [sp, #12]
	str	w8, [sp, #12]
	and	w9, w8, #0x7
	lsl	w9, w23, w9
	ldr	x10, [x19, #16]
	ldr	x10, [x10]
	ldr	x10, [x10]
	lsr	x8, x8, #1
	and	x8, x8, #0x7c
	ldr	w11, [x10, x8]
	orr	w9, w11, w9
	str	w9, [x10, x8]
	str	w23, [x10, #128]
	sub	w22, w22, #1
	cmp	w22, #1
	b.hi	LBB0_4
LBB0_5:
	mov	w0, #0
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%x"

	.no_dead_strip	_SetEscape
.subsections_via_symbols
