	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_register
_fetch_register:                        ## @fetch_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_PT_GETREGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PIDGET
	leaq	-40(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	_ptrace
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	ja	LBB0_5
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	leaq	-20(%rbp), %rsi
	movl	$128, %edi
	jmp	LBB0_12
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_warning
	jmp	LBB0_13
LBB0_5:
	movslq	%r14d, %rsi
	shlq	$2, %rsi
	addq	-40(%rbp), %rsi
	movl	%r14d, %edi
	jmp	LBB0_12
LBB0_6:
	movq	_arm_apcs_32@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.7:
	leaq	-28(%rbp), %rsi
	jmp	LBB0_11
LBB0_8:
	leaq	-32(%rbp), %rbx
	movl	-32(%rbp), %edi
	callq	_ADDR_BITS_REMOVE
	movl	%eax, -32(%rbp)
	movl	$130, %edi
	movq	%rbx, %rsi
	jmp	LBB0_12
LBB0_9:
	leaq	-24(%rbp), %rsi
	movl	$131, %edi
	jmp	LBB0_12
LBB0_10:
	leaq	-32(%rbp), %rsi
LBB0_11:
	movl	$129, %edi
LBB0_12:
	callq	_supply_register
LBB0_13:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_PT_GETREGS,4,2                 ## @PT_GETREGS
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to fetch general register"

	.comm	_arm_apcs_32,4,2                ## @arm_apcs_32
	.no_dead_strip	_fetch_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_register
_fetch_register:                        ; @fetch_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _PT_GETREGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PT_GETREGS@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_PIDGET
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #0
	bl	_ptrace
	tbnz	w0, #31, LBB0_4
; %bb.1:
	sub	w8, w19, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.2:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	add	x8, sp, #8
	add	x1, x8, #20
	mov	w0, #128
	b	LBB0_12
LBB0_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
	b	LBB0_13
LBB0_5:
	ldr	x8, [sp, #8]
	add	x1, x8, w19, sxtw #2
	mov	x0, x19
	b	LBB0_12
LBB0_6:
Lloh10:
	adrp	x8, _arm_apcs_32@GOTPAGE
Lloh11:
	ldr	x8, [x8, _arm_apcs_32@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.7:
	add	x8, sp, #8
	add	x1, x8, #12
	b	LBB0_11
LBB0_8:
	add	x8, sp, #8
	add	x19, x8, #8
	ldr	w0, [sp, #16]
	bl	_ADDR_BITS_REMOVE
	str	w0, [sp, #16]
	mov	w0, #130
	mov	x1, x19
	b	LBB0_12
LBB0_9:
	add	x8, sp, #8
	add	x1, x8, #16
	mov	w0, #131
	b	LBB0_12
LBB0_10:
	add	x8, sp, #8
	add	x1, x8, #8
LBB0_11:
	mov	w0, #129
LBB0_12:
	bl	_supply_register
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
                                        ; -- End function
	.comm	_PT_GETREGS,4,2                 ; @PT_GETREGS
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to fetch general register"

	.comm	_arm_apcs_32,4,2                ; @arm_apcs_32
	.no_dead_strip	_fetch_register
.subsections_via_symbols
