	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mi_cmd_data_write_memory       ## -- Begin function mi_cmd_data_write_memory
	.p2align	4, 0x90
_mi_cmd_data_write_memory:              ## @mi_cmd_data_write_memory
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movl	$0, -44(%rbp)
	leaq	L_.str.1(%rip), %rdi
	leaq	_mi_cmd_data_write_memory.opts(%rip), %rcx
	leaq	-44(%rbp), %r8
	leaq	-64(%rbp), %r9
	movl	%edx, %esi
	movq	%r15, %rdx
	callq	_mi_getopt
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	_mi_cmd_data_write_memory.opts(%rip), %r13
	leaq	-44(%rbp), %r14
	leaq	-64(%rbp), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movq	%r13, %rcx
	movq	%r14, %r8
	movq	%r12, %r9
	callq	_mi_getopt
	testl	%eax, %eax
	js	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi
	callq	_atol
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_6:
	movslq	-44(%rbp), %r13
	subl	%r13d, %ebx
	cmpl	$4, %ebx
	jne	LBB0_7
## %bb.8:
	movq	(%r15,%r13,8), %rdi
	callq	_parse_and_eval_address
	movq	%rax, %rbx
	movq	16(%r15,%r13,8), %rdi
	callq	_atol
	movq	%rax, %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	imulq	%rax, %r14
	addq	%rbx, %r14
	movq	24(%r15,%r13,8), %rdi
	callq	_parse_and_eval_address
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_make_cleanup
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_store_signed_integer
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_write_memory
	movq	%r15, %rdi
	callq	_do_cleanups
	movq	_MI_CMD_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_mi_error_message@GOTPCREL(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_xasprintf
	movq	_MI_CMD_ERROR@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @mi_cmd_data_write_memory.opts
_mi_cmd_data_write_memory.opts:
	.quad	L_.str
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.space	16

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"o"

L_.str.1:                               ## @.str.1
	.asciz	"mi_cmd_data_write_memory"

	.comm	_mi_error_message,4,2           ## @mi_error_message
L_.str.2:                               ## @.str.2
	.asciz	"mi_cmd_data_write_memory: Usage: [-o COLUMN_OFFSET] ADDR FORMAT WORD-SIZE VALUE."

	.comm	_MI_CMD_ERROR,4,2               ## @MI_CMD_ERROR
	.comm	_xfree,4,2                      ## @xfree
	.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_memory       ; -- Begin function mi_cmd_data_write_memory
	.p2align	2
_mi_cmd_data_write_memory:              ; @mi_cmd_data_write_memory
	.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	x20, x2
	mov	x19, x1
	str	wzr, [sp, #12]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh2:
	adrp	x3, _mi_cmd_data_write_memory.opts@PAGE
Lloh3:
	add	x3, x3, _mi_cmd_data_write_memory.opts@PAGEOFF
	add	x4, sp, #12
	mov	x5, sp
	mov	x1, x2
	mov	x2, x19
	bl	_mi_getopt
	mov	x21, #0
	tbnz	w0, #31, LBB0_5
; %bb.1:
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh6:
	adrp	x23, _mi_cmd_data_write_memory.opts@PAGE
Lloh7:
	add	x23, x23, _mi_cmd_data_write_memory.opts@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x4, sp, #12
	mov	x5, sp
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	bl	_mi_getopt
	tbnz	w0, #31, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp]
	bl	_atol
	mov	x21, x0
	b	LBB0_2
LBB0_5:
	ldrsw	x8, [sp, #12]
	sub	w9, w20, w8
	cmp	w9, #4
	b.ne	LBB0_7
; %bb.6:
	add	x22, x19, x8, lsl #3
	ldr	x0, [x22]
	bl	_parse_and_eval_address
	mov	x19, x0
	ldr	x0, [x22, #16]
	bl	_atol
	mov	x20, x0
	madd	x19, x0, x21, x19
	ldr	x0, [x22, #24]
	bl	_parse_and_eval_address
	mov	x21, x0
	mov	x0, x20
	bl	_xmalloc
	mov	x22, x0
Lloh8:
	adrp	x8, _xfree@GOTPAGE
Lloh9:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_make_cleanup
	mov	x23, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_store_signed_integer
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_write_memory
	mov	x0, x23
	bl	_do_cleanups
Lloh11:
	adrp	x8, _MI_CMD_DONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MI_CMD_DONE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x0, _mi_error_message@GOTPAGE
Lloh14:
	ldr	x0, [x0, _mi_error_message@GOTPAGEOFF]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_xasprintf
Lloh17:
	adrp	x8, _MI_CMD_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MI_CMD_ERROR@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @mi_cmd_data_write_memory.opts
_mi_cmd_data_write_memory.opts:
	.quad	l_.str
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.space	16

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"o"

l_.str.1:                               ; @.str.1
	.asciz	"mi_cmd_data_write_memory"

	.comm	_mi_error_message,4,2           ; @mi_error_message
l_.str.2:                               ; @.str.2
	.asciz	"mi_cmd_data_write_memory: Usage: [-o COLUMN_OFFSET] ADDR FORMAT WORD-SIZE VALUE."

	.comm	_MI_CMD_ERROR,4,2               ; @MI_CMD_ERROR
	.comm	_xfree,4,2                      ; @xfree
	.comm	_MI_CMD_DONE,4,2                ; @MI_CMD_DONE
.subsections_via_symbols
