	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gdb_trapper
_gdb_trapper:                           ## @gdb_trapper
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	jne	LBB0_2
## %bb.1:
	movq	_thread0@GOTPCREL(%rip), %r13
LBB0_2:
	movq	_GDB_BREAKPOINT@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	sete	%al
	movq	_GDB5_BREAKPOINT@GOTPCREL(%rip), %rdi
	cmpq	%rsi, (%rdi)
	sete	%bl
	orb	%al, %bl
	movq	_FAULT_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpb	$1, %bl
	jne	LBB0_5
## %bb.3:
	cmpl	%ecx, %eax
	jne	LBB0_5
## %bb.4:
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_ksiginfo_init_trap
	movq	_SIGTRAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TRAP_BRKPT@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	%r14, -64(%rbp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_trapsignal
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_5:
	movl	$1, %r15d
	cmpl	%ecx, %eax
	jne	LBB0_11
## %bb.6:
	movq	_PSR_T@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	jne	LBB0_11
## %bb.7:
	movq	_PTRACE_BREAKPOINT@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_11
## %bb.8:
	movl	(%r13), %edi
	callq	_PROC_LOCK
	movl	(%r13), %edi
	callq	__PHOLD
	movq	%r13, %rdi
	callq	_ptrace_clear_single_step
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	__PRELE
	movl	(%r13), %edi
	callq	_PROC_UNLOCK
	testl	%r12d, %r12d
	je	LBB0_9
LBB0_11:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_ksiginfo_init_trap
	movq	_SIGTRAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TRAP_TRACE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_curthread,8,3                  ## @curthread
	.comm	_thread0,4,2                    ## @thread0
	.comm	_GDB_BREAKPOINT,8,3             ## @GDB_BREAKPOINT
	.comm	_GDB5_BREAKPOINT,8,3            ## @GDB5_BREAKPOINT
	.comm	_FAULT_USER,4,2                 ## @FAULT_USER
	.comm	_SIGTRAP,8,3                    ## @SIGTRAP
	.comm	_TRAP_BRKPT,4,2                 ## @TRAP_BRKPT
	.comm	_PSR_T,4,2                      ## @PSR_T
	.comm	_PTRACE_BREAKPOINT,8,3          ## @PTRACE_BREAKPOINT
	.comm	_TRAP_TRACE,4,2                 ## @TRAP_TRACE
	.comm	_T_BREAKPOINT,4,2               ## @T_BREAKPOINT
	.no_dead_strip	_gdb_trapper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gdb_trapper
_gdb_trapper:                           ; @gdb_trapper
	.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	x20, x0
Lloh0:
	adrp	x8, _curthread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _thread0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _thread0@GOTPAGEOFF]
	cmp	x8, #0
	csel	x19, x9, x8, eq
Lloh5:
	adrp	x8, _GDB_BREAKPOINT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GDB_BREAKPOINT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _GDB5_BREAKPOINT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GDB5_BREAKPOINT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x1
	ccmp	x8, x1, #4, ne
Lloh11:
	adrp	x8, _FAULT_USER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FAULT_USER@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ccmp	w8, w3, #0, eq
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, w3
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x2]
Lloh14:
	adrp	x9, _PSR_T@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PSR_T@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh17:
	adrp	x9, _PTRACE_BREAKPOINT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PTRACE_BREAKPOINT@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, x1, #0, eq
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x19]
	bl	_PROC_LOCK
	ldr	w0, [x19]
	bl	__PHOLD
	mov	x0, x19
	bl	_ptrace_clear_single_step
	mov	x21, x0
	ldr	w0, [x19]
	bl	__PRELE
	ldr	w0, [x19]
	bl	_PROC_UNLOCK
	cbz	w21, LBB0_8
LBB0_4:
	mov	w0, #1
	b	LBB0_7
LBB0_5:
	add	x0, sp, #8
	bl	_ksiginfo_init_trap
Lloh20:
	adrp	x8, _SIGTRAP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIGTRAP@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh23:
	adrp	x8, _TRAP_BRKPT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TRAP_BRKPT@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	str	x20, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_trapsignal
	mov	w0, #0
LBB0_7:
	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_8:
	add	x0, sp, #8
	bl	_ksiginfo_init_trap
Lloh25:
	adrp	x8, _SIGTRAP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SIGTRAP@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh28:
	adrp	x8, _TRAP_TRACE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TRAP_TRACE@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_curthread,8,3                  ; @curthread
	.comm	_thread0,4,2                    ; @thread0
	.comm	_GDB_BREAKPOINT,8,3             ; @GDB_BREAKPOINT
	.comm	_GDB5_BREAKPOINT,8,3            ; @GDB5_BREAKPOINT
	.comm	_FAULT_USER,4,2                 ; @FAULT_USER
	.comm	_SIGTRAP,8,3                    ; @SIGTRAP
	.comm	_TRAP_BRKPT,4,2                 ; @TRAP_BRKPT
	.comm	_PSR_T,4,2                      ; @PSR_T
	.comm	_PTRACE_BREAKPOINT,8,3          ; @PTRACE_BREAKPOINT
	.comm	_TRAP_TRACE,4,2                 ; @TRAP_TRACE
	.comm	_T_BREAKPOINT,4,2               ; @T_BREAKPOINT
	.no_dead_strip	_gdb_trapper
.subsections_via_symbols
