	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dbg_setup_watchpoint           ## -- Begin function dbg_setup_watchpoint
	.p2align	4, 0x90
_dbg_setup_watchpoint:                  ## @dbg_setup_watchpoint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	_HW_BREAKPOINT_X@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%edx, %esi
	callq	_db_printf
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movl	%edx, -24(%rbp)
	movq	_DBG_TYPE_WATCHPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	leaq	-24(%rbp), %rdi
	callq	_dbg_setup_xpoint
LBB0_3:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_BREAKPOINT_X,4,2            ## @HW_BREAKPOINT_X
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid access type for watchpoint: %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DBG_TYPE_WATCHPOINT,4,2        ## @DBG_TYPE_WATCHPOINT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dbg_setup_watchpoint           ; -- Begin function dbg_setup_watchpoint
	.p2align	2
_dbg_setup_watchpoint:                  ; @dbg_setup_watchpoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _HW_BREAKPOINT_X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HW_BREAKPOINT_X@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x2
	bl	_db_printf
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	stp	x1, x0, [sp, #16]
Lloh8:
	adrp	x8, _DBG_TYPE_WATCHPOINT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DBG_TYPE_WATCHPOINT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w2, w8, [sp, #8]
	add	x0, sp, #8
	bl	_dbg_setup_xpoint
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_BREAKPOINT_X,4,2            ; @HW_BREAKPOINT_X
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid access type for watchpoint: %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DBG_TYPE_WATCHPOINT,4,2        ; @DBG_TYPE_WATCHPOINT
.subsections_via_symbols
