	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deprecated_write_register_bytes ## -- Begin function deprecated_write_register_bytes
	.p2align	4, 0x90
_deprecated_write_register_bytes:       ## @deprecated_write_register_bytes
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_target_prepare_to_store
	movq	_NUM_REGS@GOTPCREL(%rip), %rcx
	movq	_NUM_PSEUDO_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%rcx), %eax
	jle	LBB0_9
## %bb.1:
	addl	%r12d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_MAX_REGISTER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_max
	movl	%eax, %r14d
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_min
	movl	%eax, %r13d
	movl	%ebx, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_deprecated_read_register_gen
	movslq	%r14d, %rax
	leaq	(,%rax,4), %rdi
	movq	_deprecated_registers@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rdi
	subl	%eax, %r13d
	subl	%r12d, %eax
	movslq	%eax, %rsi
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movl	%r13d, %edx
	callq	_memcpy
	movl	%ebx, %edi
	callq	_target_store_registers
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movq	_NUM_PSEUDO_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_NUM_REGS@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	cmpl	%eax, %ebx
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_DEPRECATED_REGISTER_BYTE
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_DEPRECATED_REGISTER_RAW_SIZE
	cmpl	%r14d, %r15d
	jle	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r13d
	addl	%r14d, %r13d
	cmpl	%r12d, %r13d
	jle	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %eax
	subl	%r12d, %eax
	jl	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, %r13d
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rsi
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movl	%ebx, %edi
	callq	_deprecated_write_register_gen
	jmp	LBB0_8
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.comm	_NUM_PSEUDO_REGS,4,2            ## @NUM_PSEUDO_REGS
	.comm	_MAX_REGISTER_SIZE,4,2          ## @MAX_REGISTER_SIZE
	.comm	_deprecated_registers,8,3       ## @deprecated_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deprecated_write_register_bytes ; -- Begin function deprecated_write_register_bytes
	.p2align	2
_deprecated_write_register_bytes:       ; @deprecated_write_register_bytes
	.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
	sub	sp, sp, #16
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_target_prepare_to_store
Lloh3:
	adrp	x26, _NUM_REGS@GOTPAGE
Lloh4:
	ldr	x26, [x26, _NUM_REGS@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh5:
	adrp	x27, _NUM_PSEUDO_REGS@GOTPAGE
Lloh6:
	ldr	x27, [x27, _NUM_PSEUDO_REGS@GOTPAGEOFF]
	ldr	w9, [x27]
	add	w8, w9, w8
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w21, #0
	add	w22, w22, w20
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, sp
Lloh7:
	adrp	x8, _MAX_REGISTER_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_REGISTER_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	mov	x0, x23
	mov	x1, x20
	bl	_max
	mov	x23, x0
	mov	x0, x24
	mov	x1, x22
	bl	_min
	mov	x24, x0
	mov	x0, x21
	mov	x1, x25
	bl	_deprecated_read_register_gen
Lloh12:
	adrp	x8, _deprecated_registers@GOTPAGE
Lloh13:
	ldr	x8, [x8, _deprecated_registers@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	sxtw	x9, w23
	add	x0, x8, w23, sxtw #2
	sub	x8, x9, w20, sxtw
	add	x1, x19, x8
	sub	w2, w24, w23
	bl	_memcpy
	mov	x0, x21
	bl	_target_store_registers
	mov	sp, x28
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	ldr	w8, [x26]
	ldr	w9, [x27]
	add	w8, w9, w8
	cmp	w21, w8
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_DEPRECATED_REGISTER_BYTE
	mov	x23, x0
	mov	x0, x21
	bl	_DEPRECATED_REGISTER_RAW_SIZE
	cmp	w22, w23
	b.le	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w0, w23
	cmp	w24, w20
	b.le	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, w20
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, w22
	b.gt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w23
	sub	x8, x8, w20, sxtw
	add	x1, x19, x8
	mov	x0, x21
	bl	_deprecated_write_register_gen
	b	LBB0_3
LBB0_9:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #80
	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
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.comm	_NUM_PSEUDO_REGS,4,2            ; @NUM_PSEUDO_REGS
	.comm	_MAX_REGISTER_SIZE,4,2          ; @MAX_REGISTER_SIZE
	.comm	_deprecated_registers,8,3       ; @deprecated_registers
.subsections_via_symbols
