	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_ccn_pmu_xp_watchpoint_config
_arm_ccn_pmu_xp_watchpoint_config:      ## @arm_ccn_pmu_xp_watchpoint_config
	.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
	movq	%rdi, %r14
	movl	40(%rdi), %edi
	callq	_pmu_to_arm_ccn
	movq	%rax, %r15
	movq	(%rax), %rbx
	movq	8(%rax), %rax
	movq	16(%r14), %rcx
	movq	(%rax,%rcx,8), %r13
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	24(%r14), %r12
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%r14), %edi
	callq	_CCN_CONFIG_MASK
	movl	(%rbx,%rax,8), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%r15), %rbx
	movl	8(%r14), %edi
	callq	_CCN_CONFIG_MASK
	movl	4(%rbx,%rax,8), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_CCN_XP_DT_CONFIG__DT_CFG__WATCHPOINT
	movl	%eax, 32(%r14)
	movq	_CCN_XP_DT_INTERFACE_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r13), %rdi
	callq	_readl
	movl	%eax, %r15d
	movq	_CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__SHIFT
	movl	%eax, %ecx
	shll	%cl, %r13d
	notl	%r13d
	andl	%r15d, %r13d
	movl	8(%r14), %edi
	callq	_CCN_CONFIG_DIR
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__SHIFT
	movl	%eax, %ecx
	shll	%cl, %r15d
	orl	%r13d, %r15d
	movq	_CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__SHIFT
	movl	%eax, %ecx
	shll	%cl, %ebx
	notl	%ebx
	andl	%r15d, %ebx
	movl	8(%r14), %edi
	callq	_CCN_CONFIG_PORT
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__SHIFT
	movl	%eax, %ecx
	shll	%cl, %r15d
	orl	%ebx, %r15d
	movq	_CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__SHIFT
	movl	%eax, %ecx
	shll	%cl, %r13d
	notl	%r13d
	andl	%r15d, %r13d
	movl	8(%r14), %edi
	callq	_CCN_CONFIG_VC
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__SHIFT
	movl	%eax, %ecx
	shll	%cl, %ebx
	orl	%r13d, %ebx
	movq	_CCN_XP_DT_INTERFACE_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_CCN_XP_DT_CMP_VAL_L
	addq	%rax, %rbx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_CCN_XP_DT_CMP_VAL_L
	leaq	(%rbx,%rax), %rsi
	addq	$4, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_CCN_XP_DT_CMP_VAL_H
	addq	%rax, %rbx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_CCN_XP_DT_CMP_VAL_H
	leaq	(%rbx,%rax), %rsi
	addq	$4, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_CCN_XP_DT_CMP_MASK_L
	addq	%rax, %rbx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_CCN_XP_DT_CMP_MASK_L
	leaq	(%rbx,%rax), %rsi
	addq	$4, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_CCN_XP_DT_CMP_MASK_H
	addq	%rax, %rbx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_writel
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_CCN_XP_DT_CMP_MASK_H
	leaq	(%rbx,%rax), %rsi
	addq	$4, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CCN_XP_DT_INTERFACE_SEL,8,3    ## @CCN_XP_DT_INTERFACE_SEL
	.comm	_CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__MASK,4,2 ## @CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__MASK
	.comm	_CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__MASK,4,2 ## @CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__MASK
	.comm	_CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__MASK,4,2 ## @CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__MASK
	.no_dead_strip	_arm_ccn_pmu_xp_watchpoint_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_ccn_pmu_xp_watchpoint_config
_arm_ccn_pmu_xp_watchpoint_config:      ; @arm_ccn_pmu_xp_watchpoint_config
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x0
	ldr	w0, [x0, #40]
	bl	_pmu_to_arm_ccn
	mov	x20, x0
	ldp	x8, x19, [x24, #16]
	ldp	x21, x9, [x0]
	ldr	x26, [x9, x8, lsl #3]
	ldp	w23, w22, [x24]
	ldr	w0, [x24, #8]
	bl	_CCN_CONFIG_MASK
	lsl	x8, x0, #3
	ldr	w21, [x21, x8]
	ldr	x20, [x20]
	ldr	w0, [x24, #8]
	bl	_CCN_CONFIG_MASK
	add	x8, x20, x0, lsl #3
	ldr	w20, [x8, #4]
	mov	x0, x19
	bl	_CCN_XP_DT_CONFIG__DT_CFG__WATCHPOINT
	str	w0, [x24, #32]
	ldr	x8, [x26]
Lloh0:
	adrp	x27, _CCN_XP_DT_INTERFACE_SEL@GOTPAGE
Lloh1:
	ldr	x27, [x27, _CCN_XP_DT_INTERFACE_SEL@GOTPAGEOFF]
	ldr	x9, [x27]
	add	x0, x9, x8
	bl	_readl
	mov	x25, x0
Lloh2:
	adrp	x8, _CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__MASK@GOTPAGEOFF]
Lloh4:
	ldr	w28, [x8]
	mov	x0, x19
	bl	_CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__SHIFT
	lsl	w8, w28, w0
	bic	w28, w25, w8
	ldr	w0, [x24, #8]
	bl	_CCN_CONFIG_DIR
	mov	x25, x0
	mov	x0, x19
	bl	_CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__SHIFT
	lsl	w8, w25, w0
	orr	w25, w8, w28
Lloh5:
	adrp	x8, _CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__MASK@GOTPAGEOFF]
Lloh7:
	ldr	w28, [x8]
	mov	x0, x19
	bl	_CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__SHIFT
	lsl	w8, w28, w0
	bic	w28, w25, w8
	ldr	w0, [x24, #8]
	bl	_CCN_CONFIG_PORT
	mov	x25, x0
	mov	x0, x19
	bl	_CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__SHIFT
	lsl	w8, w25, w0
	orr	w25, w8, w28
Lloh8:
	adrp	x8, _CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__MASK@GOTPAGEOFF]
Lloh10:
	ldr	w28, [x8]
	mov	x0, x19
	bl	_CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__SHIFT
	lsl	w8, w28, w0
	bic	w25, w25, w8
	ldr	w0, [x24, #8]
	bl	_CCN_CONFIG_VC
	mov	x24, x0
	mov	x0, x19
	bl	_CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__SHIFT
	lsl	w8, w24, w0
	orr	w0, w8, w25
	ldr	x8, [x26]
	ldr	x9, [x27]
	add	x1, x9, x8
	bl	_writel
	ldr	x24, [x26]
	mov	x0, x19
	bl	_CCN_XP_DT_CMP_VAL_L
	add	x1, x0, x24
	mov	x0, x23
	bl	_writel
	ldr	x23, [x26]
	mov	x0, x19
	bl	_CCN_XP_DT_CMP_VAL_L
	add	x8, x23, x0
	add	x1, x8, #4
	bl	_writel
	ldr	x23, [x26]
	mov	x0, x19
	bl	_CCN_XP_DT_CMP_VAL_H
	add	x1, x0, x23
	mov	x0, x22
	bl	_writel
	ldr	x22, [x26]
	mov	x0, x19
	bl	_CCN_XP_DT_CMP_VAL_H
	add	x8, x22, x0
	add	x1, x8, #4
	bl	_writel
	ldr	x22, [x26]
	mov	x0, x19
	bl	_CCN_XP_DT_CMP_MASK_L
	add	x1, x0, x22
	mov	x0, x21
	bl	_writel
	ldr	x21, [x26]
	mov	x0, x19
	bl	_CCN_XP_DT_CMP_MASK_L
	add	x8, x21, x0
	add	x1, x8, #4
	bl	_writel
	ldr	x21, [x26]
	mov	x0, x19
	bl	_CCN_XP_DT_CMP_MASK_H
	add	x1, x0, x21
	mov	x0, x20
	bl	_writel
	ldr	x20, [x26]
	mov	x0, x19
	bl	_CCN_XP_DT_CMP_MASK_H
	add	x8, x20, x0
	add	x1, x8, #4
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CCN_XP_DT_INTERFACE_SEL,8,3    ; @CCN_XP_DT_INTERFACE_SEL
	.comm	_CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__MASK,4,2 ; @CCN_XP_DT_INTERFACE_SEL__DT_IO_SEL__MASK
	.comm	_CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__MASK,4,2 ; @CCN_XP_DT_INTERFACE_SEL__DT_DEV_SEL__MASK
	.comm	_CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__MASK,4,2 ; @CCN_XP_DT_INTERFACE_SEL__DT_VC_SEL__MASK
	.no_dead_strip	_arm_ccn_pmu_xp_watchpoint_config
.subsections_via_symbols
