	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_enable_breakpoint
_do_enable_breakpoint:                  ## @do_enable_breakpoint
	.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
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	_bp_hardware_breakpoint@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	callq	_hw_breakpoint_used_count
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rbx), %rdi
	leal	1(%rax), %esi
	xorl	%edx, %edx
	callq	_TARGET_CAN_USE_HARDWARE_WATCHPOINT
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	jns	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_5:
	callq	_error
LBB0_6:
	cmpq	$0, 48(%r13)
	movq	8(%r13), %rax
	je	LBB0_10
## %bb.7:
	movq	_bp_enabled@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_31
## %bb.8:
	xorl	%eax, %eax
	callq	_breakpoints_changed
	movq	%r13, %rdi
	callq	_resolve_pending_breakpoint
	movq	_GDB_RC_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.33:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_delete_breakpoint              ## TAILCALL
LBB0_10:
	movq	_bp_permanent@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	movq	_bp_enabled@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
LBB0_12:
	movl	%r14d, 16(%r13)
	movq	%r13, %rdi
	callq	_check_duplicates
	xorl	%eax, %eax
	callq	_breakpoints_changed
	movq	(%r13), %rax
	movq	_bp_watchpoint@GOTPCREL(%rip), %rcx
	movq	_bp_hardware_watchpoint@GOTPCREL(%rip), %r14
	movq	_bp_read_watchpoint@GOTPCREL(%rip), %r15
	movq	_bp_access_watchpoint@GOTPCREL(%rip), %rbx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.13:
	cmpq	(%r14), %rax
	je	LBB0_16
## %bb.14:
	cmpq	(%r15), %rax
	je	LBB0_16
## %bb.15:
	cmpq	(%rbx), %rax
	jne	LBB0_31
LBB0_16:
	cmpq	$0, 40(%r13)
	je	LBB0_17
## %bb.18:
	movl	32(%r13), %edi
	callq	_frame_find_by_id
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	%rax, %r12
	movq	_deprecated_selected_frame@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_frame_relative_level
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_select_frame
	jmp	LBB0_21
LBB0_9:
	movq	(%r15), %rax
	movq	%rax, 8(%r13)
	movl	%r14d, 16(%r13)
	jmp	LBB0_31
LBB0_17:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_21:
	movl	24(%r13), %edi
	callq	_value_free
	xorl	%eax, %eax
	callq	_value_mark
	movq	%rax, %r12
	movl	28(%r13), %edi
	callq	_evaluate_expression
	movl	%eax, 24(%r13)
	movl	%eax, %edi
	callq	_release_value
	movl	24(%r13), %edi
	callq	_VALUE_LAZY
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movl	24(%r13), %edi
	callq	_value_fetch_lazy
LBB0_23:
	movq	(%r13), %rdi
	cmpq	(%r14), %rdi
	je	LBB0_26
## %bb.24:
	cmpq	(%r15), %rdi
	je	LBB0_26
## %bb.25:
	cmpq	(%rbx), %rdi
	jne	LBB0_28
LBB0_26:
	leaq	-48(%rbp), %rsi
	callq	_hw_watchpoint_used_count
	movl	%eax, %ebx
	movl	24(%r13), %edi
	callq	_can_use_hardware_watchpoint
	movq	(%r13), %rdi
	addl	%eax, %ebx
	movl	-48(%rbp), %edx
	movl	%ebx, %esi
	callq	_TARGET_CAN_USE_HARDWARE_WATCHPOINT
	testl	%eax, %eax
	js	LBB0_27
LBB0_28:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_30
## %bb.29:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_select_frame
LBB0_30:
	movq	%r12, %rdi
	callq	_value_free_to_mark
LBB0_31:
	movq	%r13, %rdi
	callq	_modify_breakpoint_hook
	movl	20(%r13), %edi
	callq	_breakpoint_modify_event
LBB0_32:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movl	20(%r13), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_printf_filtered
	movq	_bp_disabled@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	jmp	LBB0_32
LBB0_27:
	movl	20(%r13), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_printf_filtered
	movq	_bp_disabled@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	movq	%r12, %rdi
	callq	_value_free_to_mark
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_bp_hardware_breakpoint,8,3     ## @bp_hardware_breakpoint
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No hardware breakpoint support in the target."

L_.str.1:                               ## @.str.1
	.asciz	"Hardware breakpoints used exceeds limit."

	.comm	_bp_enabled,8,3                 ## @bp_enabled
	.comm	_GDB_RC_OK,8,3                  ## @GDB_RC_OK
	.comm	_bp_permanent,8,3               ## @bp_permanent
	.comm	_bp_watchpoint,8,3              ## @bp_watchpoint
	.comm	_bp_hardware_watchpoint,8,3     ## @bp_hardware_watchpoint
	.comm	_bp_read_watchpoint,8,3         ## @bp_read_watchpoint
	.comm	_bp_access_watchpoint,8,3       ## @bp_access_watchpoint
L_.str.2:                               ## @.str.2
	.asciz	"Cannot enable watchpoint %d because the block in which its expression\nis valid is not currently in scope.\n"

	.comm	_bp_disabled,8,3                ## @bp_disabled
	.comm	_deprecated_selected_frame,8,3  ## @deprecated_selected_frame
L_.str.3:                               ## @.str.3
	.asciz	"Cannot enable watchpoint %d because target watch resources\nhave been allocated for other watchpoints.\n"

	.comm	_fr,8,3                         ## @fr
	.no_dead_strip	_do_enable_breakpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_enable_breakpoint
_do_enable_breakpoint:                  ; @do_enable_breakpoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _bp_hardware_breakpoint@GOTPAGE
Lloh1:
	ldr	x21, [x21, _bp_hardware_breakpoint@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	bl	_hw_breakpoint_used_count
	ldr	x8, [x21]
	add	w1, w0, #1
	mov	x0, x8
	mov	w2, #0
	bl	_TARGET_CAN_USE_HARDWARE_WATCHPOINT
	cbz	w0, LBB0_4
; %bb.2:
	tbz	w0, #31, LBB0_6
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	bl	_error
LBB0_6:
	ldr	x9, [x19, #48]
	ldr	x8, [x19, #8]
	cbz	x9, LBB0_10
; %bb.7:
Lloh6:
	adrp	x21, _bp_enabled@GOTPAGE
Lloh7:
	ldr	x21, [x21, _bp_enabled@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_27
; %bb.8:
	bl	_breakpoints_changed
	mov	x0, x19
	bl	_resolve_pending_breakpoint
Lloh8:
	adrp	x8, _GDB_RC_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GDB_RC_OK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_delete_breakpoint
LBB0_10:
Lloh11:
	adrp	x9, _bp_permanent@GOTPAGE
Lloh12:
	ldr	x9, [x9, _bp_permanent@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.11:
Lloh14:
	adrp	x8, _bp_enabled@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bp_enabled@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_12:
	str	w20, [x19, #16]
	mov	x0, x19
	bl	_check_duplicates
	bl	_breakpoints_changed
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _bp_watchpoint@GOTPAGE
Lloh18:
	ldr	x9, [x9, _bp_watchpoint@GOTPAGEOFF]
Lloh19:
	adrp	x25, _bp_hardware_watchpoint@GOTPAGE
Lloh20:
	ldr	x25, [x25, _bp_hardware_watchpoint@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	ldr	x10, [x25]
Lloh22:
	adrp	x24, _bp_read_watchpoint@GOTPAGE
Lloh23:
	ldr	x24, [x24, _bp_read_watchpoint@GOTPAGEOFF]
Lloh24:
	adrp	x23, _bp_access_watchpoint@GOTPAGE
Lloh25:
	ldr	x23, [x23, _bp_access_watchpoint@GOTPAGEOFF]
	ldr	x11, [x24]
	ldr	x12, [x23]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	b.ne	LBB0_27
; %bb.13:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_17
; %bb.14:
	ldr	w0, [x19, #32]
	bl	_frame_find_by_id
	cbz	x0, LBB0_29
; %bb.15:
	mov	x22, x0
Lloh26:
	adrp	x8, _deprecated_selected_frame@GOTPAGE
Lloh27:
	ldr	x8, [x8, _deprecated_selected_frame@GOTPAGEOFF]
Lloh28:
	ldr	x20, [x8]
	mov	x0, x20
	bl	_frame_relative_level
	mov	x21, x0
	mov	x0, x22
	bl	_select_frame
	b	LBB0_18
LBB0_16:
	ldr	x8, [x21]
	str	x8, [x19, #8]
	str	w20, [x19, #16]
	b	LBB0_27
LBB0_17:
	mov	x20, #0
	mov	w21, #-1
LBB0_18:
	ldr	w0, [x19, #24]
	bl	_value_free
	bl	_value_mark
	mov	x22, x0
	ldr	w0, [x19, #28]
	bl	_evaluate_expression
	str	w0, [x19, #24]
	bl	_release_value
	ldr	w0, [x19, #24]
	bl	_VALUE_LAZY
	cbz	x0, LBB0_20
; %bb.19:
	ldr	w0, [x19, #24]
	bl	_value_fetch_lazy
LBB0_20:
	ldr	x0, [x19]
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_23
; %bb.21:
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_23
; %bb.22:
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_24
LBB0_23:
	add	x1, sp, #12
	bl	_hw_watchpoint_used_count
	mov	x23, x0
	ldr	w0, [x19, #24]
	bl	_can_use_hardware_watchpoint
	ldr	x8, [x19]
	add	w1, w0, w23
	ldr	w2, [sp, #12]
	mov	x0, x8
	bl	_TARGET_CAN_USE_HARDWARE_WATCHPOINT
	tbnz	w0, #31, LBB0_30
LBB0_24:
	tbnz	w21, #31, LBB0_26
; %bb.25:
	mov	x0, x20
	bl	_select_frame
LBB0_26:
	mov	x0, x22
	bl	_value_free_to_mark
LBB0_27:
	mov	x0, x19
	bl	_modify_breakpoint_hook
	ldr	w0, [x19, #20]
	bl	_breakpoint_modify_event
LBB0_28:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_29:
	ldr	w1, [x19, #20]
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf_filtered
Lloh31:
	adrp	x8, _bp_disabled@GOTPAGE
Lloh32:
	ldr	x8, [x8, _bp_disabled@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	b	LBB0_28
LBB0_30:
	ldr	w1, [x19, #20]
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf_filtered
Lloh36:
	adrp	x8, _bp_disabled@GOTPAGE
Lloh37:
	ldr	x8, [x8, _bp_disabled@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	mov	x0, x22
	bl	_value_free_to_mark
	b	LBB0_28
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_bp_hardware_breakpoint,8,3     ; @bp_hardware_breakpoint
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No hardware breakpoint support in the target."

l_.str.1:                               ; @.str.1
	.asciz	"Hardware breakpoints used exceeds limit."

	.comm	_bp_enabled,8,3                 ; @bp_enabled
	.comm	_GDB_RC_OK,8,3                  ; @GDB_RC_OK
	.comm	_bp_permanent,8,3               ; @bp_permanent
	.comm	_bp_watchpoint,8,3              ; @bp_watchpoint
	.comm	_bp_hardware_watchpoint,8,3     ; @bp_hardware_watchpoint
	.comm	_bp_read_watchpoint,8,3         ; @bp_read_watchpoint
	.comm	_bp_access_watchpoint,8,3       ; @bp_access_watchpoint
l_.str.2:                               ; @.str.2
	.asciz	"Cannot enable watchpoint %d because the block in which its expression\nis valid is not currently in scope.\n"

	.comm	_bp_disabled,8,3                ; @bp_disabled
	.comm	_deprecated_selected_frame,8,3  ; @deprecated_selected_frame
l_.str.3:                               ; @.str.3
	.asciz	"Cannot enable watchpoint %d because target watch resources\nhave been allocated for other watchpoints.\n"

	.comm	_fr,8,3                         ; @fr
	.no_dead_strip	_do_enable_breakpoint
.subsections_via_symbols
