	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dbgdev_address_watch_set_registers
_dbgdev_address_watch_set_registers:    ## @dbgdev_address_watch_set_registers
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rax
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	$0, (%rsi)
	movq	$0, (%rdx)
	movl	$0, (%rcx)
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	%r8d, %edx
	movq	_ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rsi,%rdx,4), %ecx
	jmp	LBB0_3
LBB0_2:
	movq	_ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r8d, %edx
LBB0_3:
	movl	%ecx, (%rax)
	movq	16(%rdi), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	_ADDRESS_WATCH_REG_ADDHIGH_MASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%ecx, %esi
	movq	%rcx, %rbx
	shrq	$32, %rbx
	movl	%esi, (%r15)
	movq	_ADDRESS_WATCH_REG_ADDLOW_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %ebx
	movl	%ebx, (%r14)
	movq	8(%rdi), %rcx
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, 16(%rax)
	movl	%r9d, %ecx
	movq	%rcx, 8(%rax)
	movq	_ADDRESS_WATCH_REG_CNTL_ATC_BIT@GOTPCREL(%rip), %rcx
	movl	(%rax), %edx
	orl	(%rcx), %edx
	movl	%edx, (%rax)
	leaq	L_.str(%rip), %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pr_debug
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_pr_debug
	movl	(%r14), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK,4,2 ## @ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK
	.comm	_ADDRESS_WATCH_REG_ADDHIGH_MASK,4,2 ## @ADDRESS_WATCH_REG_ADDHIGH_MASK
	.comm	_ADDRESS_WATCH_REG_ADDLOW_SHIFT,4,2 ## @ADDRESS_WATCH_REG_ADDLOW_SHIFT
	.comm	_ADDRESS_WATCH_REG_CNTL_ATC_BIT,4,2 ## @ADDRESS_WATCH_REG_CNTL_ATC_BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\t\t%20s %08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"set reg mask :"

L_.str.2:                               ## @.str.2
	.asciz	"set reg add high :"

L_.str.3:                               ## @.str.3
	.asciz	"set reg add low :"

	.no_dead_strip	_dbgdev_address_watch_set_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dbgdev_address_watch_set_registers
_dbgdev_address_watch_set_registers:    ; @dbgdev_address_watch_set_registers
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	str	xzr, [x1]
	str	xzr, [x2]
	str	wzr, [x3]
	ldr	x9, [x0]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w8, w4
	ldr	w9, [x9, w4, uxtw #2]
Lloh0:
	adrp	x10, _ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w9, w10, w9
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	mov	w8, w4
LBB0_3:
	str	w9, [x3]
	ldr	x9, [x0, #16]
	add	x9, x9, x8, lsl #3
	ldp	w9, w10, [x9]
Lloh6:
	adrp	x11, _ADDRESS_WATCH_REG_ADDHIGH_MASK@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ADDRESS_WATCH_REG_ADDHIGH_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	and	w9, w11, w9
	str	w9, [x20]
Lloh9:
	adrp	x9, _ADDRESS_WATCH_REG_ADDLOW_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ADDRESS_WATCH_REG_ADDLOW_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	asr	w9, w10, w9
	str	w9, [x19]
	ldr	x9, [x0, #8]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x3, #16]
	mov	w8, w5
	str	x8, [x3, #8]
Lloh12:
	adrp	x8, _ADDRESS_WATCH_REG_CNTL_ATC_BIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ADDRESS_WATCH_REG_CNTL_ATC_BIT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x3]
	orr	w2, w9, w8
	str	w2, [x3]
Lloh15:
	adrp	x21, l_.str@PAGE
Lloh16:
	add	x21, x21, l_.str@PAGEOFF
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_pr_debug
	ldr	w2, [x20]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_pr_debug
	ldr	w2, [x19]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pr_debug
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK,4,2 ; @ADDRESS_WATCH_REG_CNTL_DEFAULT_MASK
	.comm	_ADDRESS_WATCH_REG_ADDHIGH_MASK,4,2 ; @ADDRESS_WATCH_REG_ADDHIGH_MASK
	.comm	_ADDRESS_WATCH_REG_ADDLOW_SHIFT,4,2 ; @ADDRESS_WATCH_REG_ADDLOW_SHIFT
	.comm	_ADDRESS_WATCH_REG_CNTL_ATC_BIT,4,2 ; @ADDRESS_WATCH_REG_CNTL_ATC_BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\t\t%20s %08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"set reg mask :"

l_.str.2:                               ; @.str.2
	.asciz	"set reg add high :"

l_.str.3:                               ; @.str.3
	.asciz	"set reg add low :"

	.no_dead_strip	_dbgdev_address_watch_set_registers
.subsections_via_symbols
