	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gnu_fetch_registers            ## -- Begin function gnu_fetch_registers
	.p2align	4, 0x90
_gnu_fetch_registers:                   ## @gnu_fetch_registers
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	_current_inferior@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_inf_update_procs
	movl	(%rbx), %ebx
	movq	_inferior_ptid@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_PIDGET
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_inf_tid_to_thread
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	callq	_PIDGET
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_error
LBB0_2:
	movq	_I386_NUM_GREGS@GOTPCREL(%rip), %r13
	cmpl	$-1, %r15d
	je	LBB0_4
## %bb.3:
	cmpl	%r15d, (%r13)
	jle	LBB0_9
LBB0_4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_proc_get_state
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	movl	%eax, %r12d
	cmpl	$-1, %r15d
	je	LBB0_6
## %bb.13:
	movl	%r15d, %edi
	callq	_REGISTER_NAME
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_proc_debug
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_REG_ADDR
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_supply_register
	movl	$1, %eax
	movl	%r15d, %ecx
	shll	%cl, %eax
	orl	%eax, (%r14)
LBB0_9:
	cmpl	$-1, %r15d
	je	LBB0_14
LBB0_10:
	cmpl	%r15d, (%r13)
	jle	LBB0_14
## %bb.11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r14, %rdi
	callq	_proc_string
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warning                        ## TAILCALL
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_proc_debug
	cmpl	$0, (%r13)
	jle	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_REG_ADDR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_supply_register
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_7
LBB0_8:
	movl	$-1, (%r14)
	cmpl	$-1, %r15d
	jne	LBB0_10
LBB0_14:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_proc_debug
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fetch_fpregs                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_inferior,4,2           ## @current_inferior
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't fetch registers from thread %d: No such thread"

	.comm	_I386_NUM_GREGS,4,2             ## @I386_NUM_GREGS
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't fetch registers from %s"

L_.str.2:                               ## @.str.2
	.asciz	"fetching all register"

L_.str.3:                               ## @.str.3
	.asciz	"fetching register %s"

L_.str.4:                               ## @.str.4
	.asciz	"fetching floating-point registers"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gnu_fetch_registers            ; -- Begin function gnu_fetch_registers
	.p2align	2
_gnu_fetch_registers:                   ; @gnu_fetch_registers
	.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	x19, x0
Lloh0:
	adrp	x20, _current_inferior@GOTPAGE
Lloh1:
	ldr	x20, [x20, _current_inferior@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_inf_update_procs
	ldr	w20, [x20]
Lloh2:
	adrp	x21, _inferior_ptid@GOTPAGE
Lloh3:
	ldr	x21, [x21, _inferior_ptid@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_PIDGET
	mov	x1, x0
	mov	x0, x20
	bl	_inf_tid_to_thread
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	bl	_PIDGET
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh6:
	adrp	x23, _I386_NUM_GREGS@GOTPAGE
Lloh7:
	ldr	x23, [x23, _I386_NUM_GREGS@GOTPAGEOFF]
	cmn	w19, #1
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x23]
	cmp	w8, w19
	b.gt	LBB0_5
; %bb.4:
	cmn	w19, #1
	b.ne	LBB0_14
	b	LBB0_16
LBB0_5:
	mov	x0, x20
	mov	w1, #0
	bl	_proc_get_state
	cbz	w0, LBB0_8
; %bb.6:
	mov	x21, x0
	cmn	w19, #1
	b.eq	LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_REGISTER_NAME
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_proc_debug
	mov	x0, x21
	mov	x1, x19
	bl	_REG_ADDR
	mov	x1, x0
	mov	x0, x19
	bl	_supply_register
	mov	w8, #1
	lsl	w8, w8, w19
	ldr	w9, [x20]
	orr	w8, w9, w8
	b	LBB0_13
LBB0_8:
	mov	x0, x20
	bl	_proc_string
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	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
	b	_warning
LBB0_9:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_proc_debug
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	w22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_REG_ADDR
	mov	x1, x0
	mov	x0, x22
	bl	_supply_register
	add	w22, w22, #1
	ldr	w8, [x23]
	cmp	w22, w8
	b.lt	LBB0_11
LBB0_12:
	mov	w8, #-1
LBB0_13:
	str	w8, [x20]
	cmn	w19, #1
	b.eq	LBB0_16
LBB0_14:
	ldr	w8, [x23]
	cmp	w8, w19
	b.le	LBB0_16
; %bb.15:
	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
LBB0_16:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_proc_debug
	mov	x0, x20
	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
	b	_fetch_fpregs
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_current_inferior,4,2           ; @current_inferior
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't fetch registers from thread %d: No such thread"

	.comm	_I386_NUM_GREGS,4,2             ; @I386_NUM_GREGS
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't fetch registers from %s"

l_.str.2:                               ; @.str.2
	.asciz	"fetching all register"

l_.str.3:                               ; @.str.3
	.asciz	"fetching register %s"

l_.str.4:                               ; @.str.4
	.asciz	"fetching floating-point registers"

.subsections_via_symbols
