	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_check_watch_resources
_remote_check_watch_resources:          ## @remote_check_watch_resources
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_bp_hardware_breakpoint@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	_remote_hw_breakpoint_limit@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.2:
	movl	$1, %eax
	js	LBB0_9
## %bb.3:
	cmpl	%esi, %ecx
	jge	LBB0_9
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_9
LBB0_5:
	movq	_remote_hw_watchpoint_limit@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.6:
	movl	$1, %eax
	js	LBB0_9
## %bb.7:
	movl	$-1, %eax
	testl	%edx, %edx
	jne	LBB0_9
## %bb.8:
	movl	$1, %eax
	cmpl	%esi, %ecx
	jl	LBB0_4
LBB0_9:
	popq	%rbp
	retq
LBB0_11:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bp_hardware_breakpoint,4,2     ## @bp_hardware_breakpoint
	.comm	_remote_hw_breakpoint_limit,4,2 ## @remote_hw_breakpoint_limit
	.comm	_remote_hw_watchpoint_limit,4,2 ## @remote_hw_watchpoint_limit
	.no_dead_strip	_remote_check_watch_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_check_watch_resources
_remote_check_watch_resources:          ; @remote_check_watch_resources
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _bp_hardware_breakpoint@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bp_hardware_breakpoint@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _remote_hw_breakpoint_limit@GOTPAGE
Lloh4:
	ldr	x8, [x8, _remote_hw_breakpoint_limit@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.2:
	mov	w0, #1
	tbnz	w8, #31, LBB0_4
; %bb.3:
	cmp	w8, w1
	b.lt	LBB0_9
LBB0_4:
	ret
LBB0_5:
Lloh6:
	adrp	x8, _remote_hw_watchpoint_limit@GOTPAGE
Lloh7:
	ldr	x8, [x8, _remote_hw_watchpoint_limit@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.6:
	tbnz	w8, #31, LBB0_11
; %bb.7:
	cbnz	w2, LBB0_9
; %bb.8:
	cmp	w8, w1
	b.ge	LBB0_11
LBB0_9:
	mov	w0, #-1
	ret
LBB0_10:
	mov	w0, #0
	ret
LBB0_11:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bp_hardware_breakpoint,4,2     ; @bp_hardware_breakpoint
	.comm	_remote_hw_breakpoint_limit,4,2 ; @remote_hw_breakpoint_limit
	.comm	_remote_hw_watchpoint_limit,4,2 ; @remote_hw_watchpoint_limit
	.no_dead_strip	_remote_check_watch_resources
.subsections_via_symbols
