	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gprobe_debugon
_gprobe_debugon:                        ## @gprobe_debugon
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_r_buf_new
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_r_buf_new
	movq	%rax, %r14
	movq	_GPROBE_DEBUGON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	testq	%r15, %r15
	je	LBB0_7
## %bb.3:
	testq	%r14, %r14
	je	LBB0_7
## %bb.4:
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_r_buf_append_bytes
	movq	%r15, %rdi
	callq	*16(%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	*8(%rbx)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movq	_GPROBE_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	*(%rbx)
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	movq	%r15, %rdi
	callq	_r_buf_free
	movq	%r14, %rdi
	callq	_r_buf_free
	movl	$-1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$-1, %eax
	retq
LBB0_6:
	movq	%r15, %rdi
	callq	_r_buf_free
	movq	%r14, %rdi
	callq	_r_buf_free
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_GPROBE_DEBUGON,4,2             ## @GPROBE_DEBUGON
	.comm	_GPROBE_ACK,4,2                 ## @GPROBE_ACK
	.no_dead_strip	_gprobe_debugon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gprobe_debugon
_gprobe_debugon:                        ; @gprobe_debugon
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_remember_state
	mov	x21, x0
	bl	_r_buf_new
	mov	x20, x0
	bl	_r_buf_new
	mov	x19, x0
Lloh0:
	adrp	x8, _GPROBE_DEBUGON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPROBE_DEBUGON@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	cbz	x20, LBB0_5
; %bb.2:
	cbz	x19, LBB0_5
; %bb.3:
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #1
	bl	_r_buf_append_bytes
	ldr	x8, [x21, #16]
	mov	x0, x20
	blr	x8
	ldr	x8, [x21, #8]
	mov	x0, x21
	mov	x1, x20
	blr	x8
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _GPROBE_ACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GPROBE_ACK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x0, x21
	mov	x2, x19
	blr	x8
	cbz	x0, LBB0_8
LBB0_5:
	mov	x0, x20
	bl	_r_buf_free
	mov	x0, x19
	bl	_r_buf_free
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	mov	w0, #-1
	ret
LBB0_8:
	.cfi_restore_state
	mov	x0, x20
	bl	_r_buf_free
	mov	x0, x19
	bl	_r_buf_free
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GPROBE_DEBUGON,4,2             ; @GPROBE_DEBUGON
	.comm	_GPROBE_ACK,4,2                 ; @GPROBE_ACK
	.no_dead_strip	_gprobe_debugon
.subsections_via_symbols
