	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_events_add_breakpoint    ## -- Begin function parse_events_add_breakpoint
	.p2align	4, 0x90
_parse_events_add_breakpoint:           ## @parse_events_add_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	leaq	-80(%rbp), %r14
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r13, -80(%rbp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_parse_breakpoint_type
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rcx
	movq	_HW_BREAKPOINT_X@GOTPCREL(%rip), %rdx
	movl	$8, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.3:
	movq	_HW_BREAKPOINT_LEN_4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movl	%eax, -64(%rbp)
	movq	_PERF_TYPE_BREAKPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	$1, -60(%rbp)
	leaq	-80(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_add_event
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HW_BREAKPOINT_X,8,3            ## @HW_BREAKPOINT_X
	.comm	_HW_BREAKPOINT_LEN_4,4,2        ## @HW_BREAKPOINT_LEN_4
	.comm	_PERF_TYPE_BREAKPOINT,4,2       ## @PERF_TYPE_BREAKPOINT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_events_add_breakpoint    ; -- Begin function parse_events_add_breakpoint
	.p2align	2
_parse_events_add_breakpoint:           ; @parse_events_add_breakpoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	x22, [sp]
	mov	x1, sp
	mov	x0, x21
	bl	_parse_breakpoint_type
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _HW_BREAKPOINT_X@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HW_BREAKPOINT_X@GOTPAGEOFF]
Lloh5:
	adrp	x10, _HW_BREAKPOINT_LEN_4@GOTPAGE
Lloh6:
	ldr	x10, [x10, _HW_BREAKPOINT_LEN_4@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	ldr	w10, [x10]
	cmp	x8, x9
	mov	w8, #8
Lloh9:
	adrp	x9, _PERF_TYPE_BREAKPOINT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PERF_TYPE_BREAKPOINT@GOTPAGEOFF]
	csel	w8, w8, w10, eq
Lloh11:
	ldr	w10, [x9]
	mov	w9, #1
	str	w8, [sp, #16]
	stp	w9, w10, [sp, #20]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	mov	x3, #0
	bl	_add_event
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HW_BREAKPOINT_X,8,3            ; @HW_BREAKPOINT_X
	.comm	_HW_BREAKPOINT_LEN_4,4,2        ; @HW_BREAKPOINT_LEN_4
	.comm	_PERF_TYPE_BREAKPOINT,4,2       ; @PERF_TYPE_BREAKPOINT
.subsections_via_symbols
