	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function debug_gdb_write_at
_debug_gdb_write_at:                    ## @debug_gdb_write_at
	.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	$-1, %eax
	testl	%esi, %esi
	jle	LBB0_13
## %bb.1:
	movq	%rdx, %r15
	movq	_UT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	jle	LBB0_13
## %bb.2:
	movq	%rdi, %r12
	movq	_desc@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.3:
	movl	%esi, %r14d
	movslq	(%rdi), %rbx
	movl	%esi, %eax
	cltd
	idivl	%ebx
	movl	%edx, %ecx
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_gdbr_write_memory
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.6:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	jne	LBB0_11
	jmp	LBB0_12
LBB0_4:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_11
	jmp	LBB0_12
LBB0_7:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movl	%eax, %r13d
	decq	%r13
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	addq	%rbx, %r15
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rbx,4), %r12
	leaq	(,%rbx,4), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_desc@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_gdbr_write_memory
	addq	%rbx, %r15
	addq	%r14, %r12
	decq	%r13
	jne	LBB0_8
## %bb.9:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	_desc@GOTPCREL(%rip), %r13
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	testl	%ecx, %ecx
	je	LBB0_12
LBB0_11:
	movq	(%r13), %rdi
	imull	%ebx, %eax
	cltq
	addq	%rax, %r15
	leaq	(%r12,%rax,4), %rdx
	movq	%r15, %rsi
	callq	_gdbr_write_memory
LBB0_12:
	movl	%r14d, %eax
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UT64_MAX,8,3                   ## @UT64_MAX
	.comm	_desc,8,3                       ## @desc
	.no_dead_strip	_debug_gdb_write_at
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function debug_gdb_write_at
_debug_gdb_write_at:                    ; @debug_gdb_write_at
	.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
	cmp	w1, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x8, _UT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x26, _desc@GOTPAGE
Lloh4:
	ldr	x26, [x26, _desc@GOTPAGEOFF]
	ldr	x0, [x26]
	cmp	x8, x2
	ccmp	x0, #0, #4, gt
	b.ne	LBB0_3
LBB0_2:
	mov	w19, #-1
	b	LBB0_10
LBB0_3:
	mov	x19, x1
	ldrsw	x23, [x0]
	sdiv	w27, w1, w23
	msub	w22, w27, w23, w1
	cmp	w27, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	bl	_gdbr_write_memory
	cmp	w27, #1
	b.eq	LBB0_8
; %bb.5:
	str	w22, [sp, #12]                  ; 4-byte Folded Spill
	sub	x28, x27, #1
	add	x24, x20, x23
	lsl	x22, x23, #2
	add	x25, x21, x22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x26]
	mov	x1, x24
	mov	x2, x25
	mov	x3, x23
	bl	_gdbr_write_memory
	add	x24, x24, x23
	add	x25, x25, x22
	subs	x28, x28, #1
	b.ne	LBB0_6
; %bb.7:
	ldr	w22, [sp, #12]                  ; 4-byte Folded Reload
LBB0_8:
	cbz	w22, LBB0_10
LBB0_9:
	ldr	x0, [x26]
	mul	w8, w27, w23
	add	x1, x20, w8, sxtw
	add	x2, x21, w8, sxtw #2
	mov	x3, x22
	bl	_gdbr_write_memory
LBB0_10:
	mov	x0, x19
	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_11:
	mov	w27, #0
	cbnz	w22, LBB0_9
	b	LBB0_10
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UT64_MAX,8,3                   ; @UT64_MAX
	.comm	_desc,8,3                       ; @desc
	.no_dead_strip	_debug_gdb_write_at
.subsections_via_symbols
