	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmtimer_setup_int_2
_mmtimer_setup_int_2:                   ## @mmtimer_setup_int_2
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_SH_RTC3_INT_ENABLE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_LOCAL_MMR_ADDR
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_HUB_S
	movq	_SH_INT_CMPD@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_LOCAL_MMR_ADDR
	movq	%rax, %rdi
	movq	$-1, %rsi
	callq	_HUB_S
	movl	$2, %edi
	callq	_mmtimer_clr_int_pending
	movq	_SGI_MMTIMER_VECTOR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_SH_RTC3_INT_CONFIG_IDX_SHFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rbx
	movl	%r15d, %edi
	callq	_cpu_physical_id
	movq	_SH_RTC3_INT_CONFIG_PID_SHFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rax
	orq	%rax, %rbx
	movq	_SH_RTC3_INT_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LOCAL_MMR_ADDR
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_HUB_S
	movl	(%r12), %edi
	callq	_LOCAL_MMR_ADDR
	movl	$1, %esi
	movq	%rax, %rdi
	callq	_HUB_S
	movl	(%r13), %edi
	callq	_LOCAL_MMR_ADDR
	movq	%rax, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HUB_S                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SH_RTC3_INT_ENABLE,4,2         ## @SH_RTC3_INT_ENABLE
	.comm	_SH_INT_CMPD,4,2                ## @SH_INT_CMPD
	.comm	_SGI_MMTIMER_VECTOR,8,3         ## @SGI_MMTIMER_VECTOR
	.comm	_SH_RTC3_INT_CONFIG_IDX_SHFT,8,3 ## @SH_RTC3_INT_CONFIG_IDX_SHFT
	.comm	_SH_RTC3_INT_CONFIG_PID_SHFT,8,3 ## @SH_RTC3_INT_CONFIG_PID_SHFT
	.comm	_SH_RTC3_INT_CONFIG,4,2         ## @SH_RTC3_INT_CONFIG
	.no_dead_strip	_mmtimer_setup_int_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmtimer_setup_int_2
_mmtimer_setup_int_2:                   ; @mmtimer_setup_int_2
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _SH_RTC3_INT_ENABLE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SH_RTC3_INT_ENABLE@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_LOCAL_MMR_ADDR
	mov	x1, #0
	bl	_HUB_S
Lloh2:
	adrp	x22, _SH_INT_CMPD@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SH_INT_CMPD@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_LOCAL_MMR_ADDR
	mov	x1, #-1
	bl	_HUB_S
	mov	w0, #2
	bl	_mmtimer_clr_int_pending
Lloh4:
	adrp	x8, _SGI_MMTIMER_VECTOR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SGI_MMTIMER_VECTOR@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _SH_RTC3_INT_CONFIG_IDX_SHFT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SH_RTC3_INT_CONFIG_IDX_SHFT@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	lsl	x23, x8, x9
	mov	x0, x20
	bl	_cpu_physical_id
Lloh10:
	adrp	x8, _SH_RTC3_INT_CONFIG_PID_SHFT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SH_RTC3_INT_CONFIG_PID_SHFT@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	lsl	x8, x0, x8
	orr	x20, x8, x23
Lloh13:
	adrp	x8, _SH_RTC3_INT_CONFIG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SH_RTC3_INT_CONFIG@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_LOCAL_MMR_ADDR
	mov	x1, x20
	bl	_HUB_S
	ldr	w0, [x21]
	bl	_LOCAL_MMR_ADDR
	mov	w1, #1
	bl	_HUB_S
	ldr	w0, [x22]
	bl	_LOCAL_MMR_ADDR
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_HUB_S
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SH_RTC3_INT_ENABLE,4,2         ; @SH_RTC3_INT_ENABLE
	.comm	_SH_INT_CMPD,4,2                ; @SH_INT_CMPD
	.comm	_SGI_MMTIMER_VECTOR,8,3         ; @SGI_MMTIMER_VECTOR
	.comm	_SH_RTC3_INT_CONFIG_IDX_SHFT,8,3 ; @SH_RTC3_INT_CONFIG_IDX_SHFT
	.comm	_SH_RTC3_INT_CONFIG_PID_SHFT,8,3 ; @SH_RTC3_INT_CONFIG_PID_SHFT
	.comm	_SH_RTC3_INT_CONFIG,4,2         ; @SH_RTC3_INT_CONFIG
	.no_dead_strip	_mmtimer_setup_int_2
.subsections_via_symbols
