	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_register
_store_register:                        ## @store_register
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_MAX_REGISTER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_regcache_collect
	movq	_errno@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	leaq	-44(%rbp), %rsi
	movl	%ebx, %edi
	callq	_regmap
	movl	%eax, %r14d
	cmpl	$0, -44(%rbp)
	je	LBB0_3
## %bb.1:
	movq	_PT_WRITE_FPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
LBB0_2:
	xorl	%r8d, %r8d
	callq	_rs6000_ptrace32
LBB0_14:
	cmpq	$0, (%r12)
	jne	LBB0_15
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	testl	%r14d, %r14d
	js	LBB0_4
## %bb.6:
	movq	_SP_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_exec_one_dummy_insn
LBB0_8:
	xorl	%eax, %eax
	callq	_ARCH64
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%ebx, %edi
	callq	_DEPRECATED_REGISTER_RAW_SIZE
	cmpl	$8, %eax
	jne	LBB0_12
## %bb.11:
	leaq	-56(%rbp), %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_13
LBB0_4:
	movq	_NUM_REGS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jg	LBB0_14
## %bb.5:
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf_unfiltered
	jmp	LBB0_14
LBB0_9:
	movq	_PT_WRITE_GPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	movl	%r14d, %edx
	movl	(%r15), %ecx
	movl	%ebx, %edi
	movl	%eax, %esi
	jmp	LBB0_2
LBB0_12:
	movslq	(%r15), %rax
	movq	%rax, -56(%rbp)
LBB0_13:
	movq	_PT_WRITE_GPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	leaq	-56(%rbp), %r8
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_rs6000_ptrace64
	jmp	LBB0_14
LBB0_15:
	callq	_store_register.cold.1
	jmp	LBB0_16
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function store_register.cold.1
_store_register.cold.1:                 ## @store_register.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	movq	_errno@GOTPCREL(%rip), %rax
	andq	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_REGISTER_SIZE,4,2          ## @MAX_REGISTER_SIZE
	.comm	_errno,8,3                      ## @errno
	.comm	_PT_WRITE_FPR,4,2               ## @PT_WRITE_FPR
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gdb error: register no %d not implemented.\n"

	.comm	_SP_REGNUM,4,2                  ## @SP_REGNUM
	.comm	_PT_WRITE_GPR,4,2               ## @PT_WRITE_GPR
L_.str.1:                               ## @.str.1
	.asciz	"ptrace write"

	.no_dead_strip	_store_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_register
_store_register:                        ; @store_register
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #32
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _MAX_REGISTER_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_REGISTER_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x1, x20
	bl	_regcache_collect
Lloh8:
	adrp	x22, _errno@GOTPAGE
Lloh9:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	xzr, [x22]
	sub	x1, x29, #44
	mov	x0, x21
	bl	_regmap
	mov	x19, x0
	ldur	w8, [x29, #-44]
	cbz	w8, LBB0_6
; %bb.1:
Lloh10:
	adrp	x8, _PT_WRITE_FPR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PT_WRITE_FPR@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
Lloh13:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh14:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_PIDGET
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
LBB0_2:
	mov	w4, #0
	bl	_rs6000_ptrace32
LBB0_3:
	ldr	x8, [x22]
	cbnz	x8, LBB0_17
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.5:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	tbnz	w19, #31, LBB0_12
; %bb.7:
Lloh19:
	adrp	x8, _SP_REGNUM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SP_REGNUM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_9
; %bb.8:
	bl	_exec_one_dummy_insn
LBB0_9:
	bl	_ARCH64
	cbz	w0, LBB0_14
; %bb.10:
	mov	x0, x21
	bl	_DEPRECATED_REGISTER_RAW_SIZE
	cmp	w0, #8
	b.ne	LBB0_15
; %bb.11:
	sub	x0, x29, #56
	mov	x1, x20
	mov	w2, #8
	bl	_memcpy
	b	LBB0_16
LBB0_12:
Lloh22:
	adrp	x8, _NUM_REGS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NUM_REGS@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w8, w21
	b.gt	LBB0_3
; %bb.13:
Lloh25:
	adrp	x8, _gdb_stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _gdb_stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_fprintf_unfiltered
	b	LBB0_3
LBB0_14:
Lloh30:
	adrp	x8, _PT_WRITE_GPR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PT_WRITE_GPR@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
Lloh33:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh34:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_PIDGET
	mov	x1, x0
	mov	w2, w19
	ldr	w3, [x20]
	mov	x0, x21
	b	LBB0_2
LBB0_15:
	ldrsw	x8, [x20]
	stur	x8, [x29, #-56]
LBB0_16:
Lloh36:
	adrp	x8, _PT_WRITE_GPR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PT_WRITE_GPR@GOTPAGEOFF]
Lloh38:
	ldr	w20, [x8]
Lloh39:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh40:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_PIDGET
	mov	x1, x0
	sub	x4, x29, #56
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	bl	_rs6000_ptrace64
	b	LBB0_3
LBB0_17:
	bl	_store_register.cold.1
	b	LBB0_4
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function store_register.cold.1
_store_register.cold.1:                 ; @store_register.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh42:
	adrp	x0, l_.str.1@PAGE
Lloh43:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
Lloh44:
	adrp	x8, _errno@GOTPAGE
Lloh45:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh46:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_REGISTER_SIZE,4,2          ; @MAX_REGISTER_SIZE
	.comm	_errno,8,3                      ; @errno
	.comm	_PT_WRITE_FPR,4,2               ; @PT_WRITE_FPR
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gdb error: register no %d not implemented.\n"

	.comm	_SP_REGNUM,4,2                  ; @SP_REGNUM
	.comm	_PT_WRITE_GPR,4,2               ; @PT_WRITE_GPR
l_.str.1:                               ; @.str.1
	.asciz	"ptrace write"

	.no_dead_strip	_store_register
.subsections_via_symbols
