	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_debug_qnx_breakpoint
_r_debug_qnx_breakpoint:                ## @r_debug_qnx_breakpoint
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rsi), %rax
	movq	_desc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rsi), %esi
	testl	%edx, %edx
	je	LBB0_6
## %bb.3:
	leaq	L_.str(%rip), %rdx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	callq	_qnxr_set_hwbp
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_6:
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	callq	_qnxr_remove_hwbp
	jmp	LBB0_9
LBB0_5:
	callq	_qnxr_set_bp
	jmp	LBB0_9
LBB0_8:
	callq	_qnxr_remove_bp
LBB0_9:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	popq	%rbp
	movl	%ecx, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_desc,4,2                       ## @desc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_r_debug_qnx_breakpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_debug_qnx_breakpoint
_r_debug_qnx_breakpoint:                ; @r_debug_qnx_breakpoint
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_remember_state
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _desc@GOTPAGE
Lloh1:
	ldr	x9, [x9, _desc@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	ldr	w1, [x1]
	cbz	w2, LBB0_5
; %bb.2:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	cbz	x8, LBB0_7
; %bb.3:
	bl	_qnxr_set_hwbp
	b	LBB0_9
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w0, #0
	ret
LBB0_5:
	.cfi_restore_state
	cbz	x8, LBB0_8
; %bb.6:
	bl	_qnxr_remove_hwbp
	b	LBB0_9
LBB0_7:
	bl	_qnxr_set_bp
	b	LBB0_9
LBB0_8:
	bl	_qnxr_remove_bp
LBB0_9:
	cmp	w0, #0
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_desc,4,2                       ; @desc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_r_debug_qnx_breakpoint
.subsections_via_symbols
