	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mi_cmd_data_write_register_values ## -- Begin function mi_cmd_data_write_register_values
	.p2align	4, 0x90
_mi_cmd_data_write_register_values:     ## @mi_cmd_data_write_register_values
	.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
	testl	%edx, %edx
	je	LBB0_12
## %bb.1:
	movq	_target_has_registers@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.2:
	movl	%edx, %eax
	decl	%eax
	je	LBB0_14
## %bb.3:
	testb	$1, %al
	jne	LBB0_15
## %bb.4:
	movq	_MI_CMD_DONE@GOTPCREL(%rip), %rax
	cmpl	$2, %edx
	jl	LBB0_17
## %bb.5:
	movq	%rsi, %r14
	movq	_NUM_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%r15,8), %rdi
	callq	_atoi
	testl	%eax, %eax
	js	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %ebx
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %edi
	callq	_REGISTER_NAME
	testq	%rax, %rax
	je	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %edi
	callq	_REGISTER_NAME
	cmpb	$0, (%rax)
	je	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r14,%r15,8), %rdi
	callq	_parse_and_eval_address
	movl	%eax, %r12d
	movq	_DEPRECATED_REGISTER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_xmalloc
	movq	%rax, %r13
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_make_cleanup
	movq	%rax, %r14
	movq	_DEPRECATED_REGISTER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_store_signed_integer
	movl	%ebx, %edi
	callq	_DEPRECATED_REGISTER_BYTE
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_DEPRECATED_REGISTER_RAW_SIZE
	movl	%r12d, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_deprecated_write_register_bytes
	movq	%r14, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	callq	_do_cleanups
	addq	$2, %r15
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	jb	LBB0_6
## %bb.11:
	movq	_MI_CMD_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_16
LBB0_13:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_16
LBB0_14:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_16
LBB0_15:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_16
LBB0_20:
	leaq	L_.str.4(%rip), %rsi
LBB0_16:
	movq	_mi_error_message@GOTPCREL(%rip), %rdi
	callq	_xasprintf
	movq	_MI_CMD_ERROR@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.comm	_mi_error_message,4,2           ## @mi_error_message
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mi_cmd_data_write_register_values: Usage: -data-write-register-values <format> [<regnum1> <value1>...<regnumN> <valueN>]"

	.comm	_MI_CMD_ERROR,4,2               ## @MI_CMD_ERROR
	.comm	_target_has_registers,4,2       ## @target_has_registers
L_.str.1:                               ## @.str.1
	.asciz	"mi_cmd_data_write_register_values: No registers."

L_.str.2:                               ## @.str.2
	.asciz	"mi_cmd_data_write_register_values: No regs and values specified."

L_.str.3:                               ## @.str.3
	.asciz	"mi_cmd_data_write_register_values: Regs and vals are not in pairs."

	.comm	_DEPRECATED_REGISTER_SIZE,4,2   ## @DEPRECATED_REGISTER_SIZE
	.comm	_xfree,4,2                      ## @xfree
L_.str.4:                               ## @.str.4
	.asciz	"bad register number"

	.comm	_MI_CMD_DONE,4,2                ## @MI_CMD_DONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mi_cmd_data_write_register_values ; -- Begin function mi_cmd_data_write_register_values
	.p2align	2
_mi_cmd_data_write_register_values:     ; @mi_cmd_data_write_register_values
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	w2, LBB0_11
; %bb.1:
Lloh0:
	adrp	x8, _target_has_registers@GOTPAGE
Lloh1:
	ldr	x8, [x8, _target_has_registers@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.2:
	subs	w8, w2, #1
	b.eq	LBB0_13
; %bb.3:
	tbnz	w8, #0, LBB0_14
; %bb.4:
	cmp	w2, #2
	b.lt	LBB0_17
; %bb.5:
	mov	x20, x1
	mov	x28, #0
Lloh3:
	adrp	x8, _NUM_REGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NUM_REGS@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	mov	w8, w2
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh6:
	adrp	x19, l_.str.4@PAGE
Lloh7:
	add	x19, x19, l_.str.4@PAGEOFF
Lloh8:
	adrp	x25, _MI_CMD_DONE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _MI_CMD_DONE@GOTPAGEOFF]
Lloh10:
	adrp	x27, _DEPRECATED_REGISTER_SIZE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _DEPRECATED_REGISTER_SIZE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x20, x28, lsl #3
	ldr	x0, [x8, #8]
	bl	_atoi
	tbnz	w0, #31, LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	cmp	w0, w26
	b.ge	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_REGISTER_NAME
	cbz	x0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_REGISTER_NAME
	ldrb	w8, [x0]
	cbz	w8, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x20, x28, lsl #3
	ldr	x0, [x8, #16]
	bl	_parse_and_eval_address
	mov	x22, x0
	ldr	w0, [x27]
	bl	_xmalloc
	mov	x23, x0
Lloh12:
	adrp	x8, _xfree@GOTPAGE
Lloh13:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_make_cleanup
	mov	x24, x0
	ldr	w1, [x27]
	mov	x0, x23
	mov	x2, x22
	bl	_store_signed_integer
	mov	x0, x21
	bl	_DEPRECATED_REGISTER_BYTE
	mov	x22, x0
	mov	x0, x21
	bl	_DEPRECATED_REGISTER_RAW_SIZE
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_deprecated_write_register_bytes
	mov	x0, x24
	bl	_do_cleanups
	add	x8, x28, #3
	add	x28, x28, #2
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x8, x9
	b.lo	LBB0_6
	b	LBB0_16
LBB0_11:
Lloh15:
	adrp	x19, l_.str@PAGE
Lloh16:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_15
LBB0_12:
Lloh17:
	adrp	x19, l_.str.1@PAGE
Lloh18:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_13:
Lloh19:
	adrp	x19, l_.str.2@PAGE
Lloh20:
	add	x19, x19, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh21:
	adrp	x19, l_.str.3@PAGE
Lloh22:
	add	x19, x19, l_.str.3@PAGEOFF
LBB0_15:
Lloh23:
	adrp	x0, _mi_error_message@GOTPAGE
Lloh24:
	ldr	x0, [x0, _mi_error_message@GOTPAGEOFF]
	mov	x1, x19
	bl	_xasprintf
Lloh25:
	adrp	x25, _MI_CMD_ERROR@GOTPAGE
Lloh26:
	ldr	x25, [x25, _MI_CMD_ERROR@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x25]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
Lloh27:
	adrp	x25, _MI_CMD_DONE@GOTPAGE
Lloh28:
	ldr	x25, [x25, _MI_CMD_DONE@GOTPAGEOFF]
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.comm	_mi_error_message,4,2           ; @mi_error_message
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mi_cmd_data_write_register_values: Usage: -data-write-register-values <format> [<regnum1> <value1>...<regnumN> <valueN>]"

	.comm	_MI_CMD_ERROR,4,2               ; @MI_CMD_ERROR
	.comm	_target_has_registers,4,2       ; @target_has_registers
l_.str.1:                               ; @.str.1
	.asciz	"mi_cmd_data_write_register_values: No registers."

l_.str.2:                               ; @.str.2
	.asciz	"mi_cmd_data_write_register_values: No regs and values specified."

l_.str.3:                               ; @.str.3
	.asciz	"mi_cmd_data_write_register_values: Regs and vals are not in pairs."

	.comm	_DEPRECATED_REGISTER_SIZE,4,2   ; @DEPRECATED_REGISTER_SIZE
	.comm	_xfree,4,2                      ; @xfree
l_.str.4:                               ; @.str.4
	.asciz	"bad register number"

	.comm	_MI_CMD_DONE,4,2                ; @MI_CMD_DONE
.subsections_via_symbols
