	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gnu_resume
_gnu_resume:                            ## @gnu_resume
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_current_inferior@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	callq	_PIDGET
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_inf_debug
	movq	%r12, %rdi
	callq	_inf_validate_procinfo
	movq	_TARGET_SIGNAL_0@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 40(%r12)
	je	LBB0_5
## %bb.2:
	cmpq	$0, 32(%r12)
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_inf_continue
	jmp	LBB0_7
LBB0_4:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_inf_signal
LBB0_7:
	movl	12(%r12), %edi
	callq	_port_msgs_queued
	testq	%rax, %rax
	je	LBB0_8
## %bb.21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r12, %rdi
	callq	_inf_update_procs
	movl	%r15d, %edi
	callq	_PIDGET
	testq	%rax, %rax
	js	LBB0_9
## %bb.10:
	movl	%r15d, %edi
	callq	_PIDGET
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_inf_tid_to_thread
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rdi
	callq	_error
LBB0_12:
	movl	8(%r12), %edx
	movl	(%rbx), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_inf_debug
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_5:
	movq	24(%r12), %rax
	movq	_MACH_PORT_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movl	20(%r12), %edi
	movl	$1, %esi
	callq	_proc_abort
	movl	20(%r12), %edi
	callq	_proc_string
	movslq	%eax, %rbx
	movl	16(%r12), %edi
	callq	_target_signal_to_name
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_warning
	jmp	LBB0_7
LBB0_9:
	movq	_inferior_ptid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_PIDGET
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_inf_debug
	movl	(%rbx), %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
LBB0_13:
	callq	_inf_set_threads_resume_sc
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.15:
	movl	%r15d, %edi
	callq	_PIDGET
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_inf_tid_to_thread
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	%rax, %r14
	movl	8(%r12), %edx
	movl	(%rax), %ecx
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_inf_debug
	cmpq	(%r12), %r14
	jne	LBB0_19
	jmp	LBB0_20
LBB0_14:
	xorl	%r14d, %r14d
	cmpq	(%r12), %r14
	je	LBB0_20
LBB0_19:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_inf_set_step_thread
LBB0_20:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_inf_debug
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_inf_resume                     ## TAILCALL
LBB0_16:
	movl	%r15d, %edi
	callq	_PIDGET
	leaq	L_.str.5(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_warning
	cmpq	(%r12), %r14
	jne	LBB0_19
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_current_inferior,8,3           ## @current_inferior
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tid = %d, step = %d, sig = %d"

	.comm	_TARGET_SIGNAL_0,4,2            ## @TARGET_SIGNAL_0
	.comm	_MACH_PORT_NULL,8,3             ## @MACH_PORT_NULL
L_.str.1:                               ## @.str.1
	.asciz	"Aborting %s with unforwarded exception %s."

L_.str.2:                               ## @.str.2
	.asciz	"running all threads; tid = %d"

	.comm	_inferior_ptid,4,2              ## @inferior_ptid
L_.str.3:                               ## @.str.3
	.asciz	"Can't run single thread id %d: no such thread!"

L_.str.4:                               ## @.str.4
	.asciz	"running one thread: %d/%d"

L_.str.5:                               ## @.str.5
	.asciz	"Can't step thread id %d: no such thread."

L_.str.6:                               ## @.str.6
	.asciz	"stepping thread: %d/%d"

L_.str.7:                               ## @.str.7
	.asciz	"here we go..."

	.no_dead_strip	_gnu_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gnu_resume
_gnu_resume:                            ; @gnu_resume
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _current_inferior@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_inferior@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	bl	_PIDGET
	stp	x20, x22, [sp, #8]
	str	x0, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_inf_debug
	mov	x0, x19
	bl	_inf_validate_procinfo
Lloh5:
	adrp	x8, _TARGET_SIGNAL_0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TARGET_SIGNAL_0@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_13
; %bb.2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_inf_continue
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x22
	bl	_inf_signal
LBB0_5:
	ldr	w0, [x19, #12]
	bl	_port_msgs_queued
	cbz	x0, LBB0_7
; %bb.6:
	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
	add	sp, sp, #80
	ret
LBB0_7:
	mov	x0, x19
	bl	_inf_update_procs
	mov	x0, x21
	bl	_PIDGET
	tbnz	x0, #63, LBB0_15
; %bb.8:
	mov	x0, x21
	bl	_PIDGET
	mov	x1, x0
	mov	x0, x19
	bl	_inf_tid_to_thread
	mov	x22, x0
	cbnz	x0, LBB0_10
; %bb.9:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error
LBB0_10:
	ldr	w8, [x19, #8]
	ldr	w9, [x22]
	stp	x8, x9, [sp]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_inf_debug
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_inf_set_threads_resume_sc
	cbz	w20, LBB0_16
LBB0_11:
	mov	x0, x21
	bl	_PIDGET
	mov	x1, x0
	mov	x0, x19
	bl	_inf_tid_to_thread
	mov	x20, x0
	cbz	x0, LBB0_17
; %bb.12:
	ldr	w8, [x19, #8]
	ldr	w9, [x20]
	stp	x8, x9, [sp]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_inf_debug
	b	LBB0_18
LBB0_13:
	ldr	x8, [x19, #24]
Lloh14:
	adrp	x9, _MACH_PORT_NULL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MACH_PORT_NULL@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.14:
	ldr	w0, [x19, #20]
	mov	w1, #1
	bl	_proc_abort
	ldr	w0, [x19, #20]
	bl	_proc_string
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x22, w0
	ldr	w0, [x19, #16]
	bl	_target_signal_to_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_warning
	b	LBB0_5
LBB0_15:
Lloh19:
	adrp	x21, _inferior_ptid@GOTPAGE
Lloh20:
	ldr	x21, [x21, _inferior_ptid@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_PIDGET
	str	x0, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_inf_debug
	ldr	w21, [x21]
	mov	x0, x19
	mov	x1, #0
	mov	w2, #1
	bl	_inf_set_threads_resume_sc
	cbnz	w20, LBB0_11
LBB0_16:
	mov	x20, #0
	b	LBB0_18
LBB0_17:
	mov	x0, x21
	bl	_PIDGET
	mov	x1, x0
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_warning
LBB0_18:
	ldr	x8, [x19]
	cmp	x20, x8
	b.eq	LBB0_20
; %bb.19:
	mov	x0, x19
	mov	x1, x20
	bl	_inf_set_step_thread
LBB0_20:
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_inf_debug
	mov	x0, x19
	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
	add	sp, sp, #80
	b	_inf_resume
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_current_inferior,8,3           ; @current_inferior
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tid = %d, step = %d, sig = %d"

	.comm	_TARGET_SIGNAL_0,4,2            ; @TARGET_SIGNAL_0
	.comm	_MACH_PORT_NULL,8,3             ; @MACH_PORT_NULL
l_.str.1:                               ; @.str.1
	.asciz	"Aborting %s with unforwarded exception %s."

l_.str.2:                               ; @.str.2
	.asciz	"running all threads; tid = %d"

	.comm	_inferior_ptid,4,2              ; @inferior_ptid
l_.str.3:                               ; @.str.3
	.asciz	"Can't run single thread id %d: no such thread!"

l_.str.4:                               ; @.str.4
	.asciz	"running one thread: %d/%d"

l_.str.5:                               ; @.str.5
	.asciz	"Can't step thread id %d: no such thread."

l_.str.6:                               ; @.str.6
	.asciz	"stepping thread: %d/%d"

l_.str.7:                               ; @.str.7
	.asciz	"here we go..."

	.no_dead_strip	_gnu_resume
.subsections_via_symbols
