	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pl310_config_intr
_pl310_config_intr:                     ## @pl310_config_intr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	12(%rdi), %esi
	movq	_INTR_TYPE_MISC@GOTPCREL(%rip), %rax
	movq	_INTR_MPSAFE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	16(%rdi), %edi
	movq	_pl310_filter@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	8(%rbx), %rax
	movq	%rax, (%rsp)
	xorl	%r8d, %r8d
	movq	%rbx, %r9
	callq	_bus_setup_intr
	movq	_PL310_EVENT_COUNTER0_CONF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EVENT_COUNTER_CONF_INCR@GOTPCREL(%rip), %r14
	movq	_EVENT_COUNTER_CONF_CO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_pl310_write4
	movq	_PL310_EVENT_COUNTER1_CONF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EVENT_COUNTER_CONF_DRREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_pl310_write4
	movq	_PL310_INTR_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INTR_MASK_ECNTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_pl310_write4
	movq	_PL310_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INTR_MASK_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_pl310_write4
	movq	_PL310_EVENT_COUNTER_CTRL@GOTPCREL(%rip), %rax
	movq	_EVENT_COUNTER_CTRL_ENABLED@GOTPCREL(%rip), %rcx
	movq	_EVENT_COUNTER_CTRL_C0_RESET@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_EVENT_COUNTER_CTRL_C1_RESET@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_pl310_write4
	movq	(%rbx), %rdi
	callq	_config_intrhook_disestablish
	movq	(%rbx), %rdi
	movq	_M_DEVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, (%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTR_TYPE_MISC,4,2             ## @INTR_TYPE_MISC
	.comm	_INTR_MPSAFE,4,2                ## @INTR_MPSAFE
	.comm	_pl310_filter,4,2               ## @pl310_filter
	.comm	_PL310_EVENT_COUNTER0_CONF,4,2  ## @PL310_EVENT_COUNTER0_CONF
	.comm	_EVENT_COUNTER_CONF_INCR,4,2    ## @EVENT_COUNTER_CONF_INCR
	.comm	_EVENT_COUNTER_CONF_CO,4,2      ## @EVENT_COUNTER_CONF_CO
	.comm	_PL310_EVENT_COUNTER1_CONF,4,2  ## @PL310_EVENT_COUNTER1_CONF
	.comm	_EVENT_COUNTER_CONF_DRREQ,4,2   ## @EVENT_COUNTER_CONF_DRREQ
	.comm	_PL310_INTR_CLEAR,4,2           ## @PL310_INTR_CLEAR
	.comm	_INTR_MASK_ECNTR,4,2            ## @INTR_MASK_ECNTR
	.comm	_PL310_INTR_MASK,4,2            ## @PL310_INTR_MASK
	.comm	_INTR_MASK_ALL,4,2              ## @INTR_MASK_ALL
	.comm	_PL310_EVENT_COUNTER_CTRL,4,2   ## @PL310_EVENT_COUNTER_CTRL
	.comm	_EVENT_COUNTER_CTRL_ENABLED,4,2 ## @EVENT_COUNTER_CTRL_ENABLED
	.comm	_EVENT_COUNTER_CTRL_C0_RESET,4,2 ## @EVENT_COUNTER_CTRL_C0_RESET
	.comm	_EVENT_COUNTER_CTRL_C1_RESET,4,2 ## @EVENT_COUNTER_CTRL_C1_RESET
	.comm	_M_DEVBUF,4,2                   ## @M_DEVBUF
	.no_dead_strip	_pl310_config_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pl310_config_intr
_pl310_config_intr:                     ; @pl310_config_intr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #16]
	ldr	w1, [x19, #12]
Lloh0:
	adrp	x8, _INTR_TYPE_MISC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTR_TYPE_MISC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _INTR_MPSAFE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INTR_MPSAFE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh6:
	adrp	x8, _pl310_filter@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pl310_filter@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x6, x19, #8
	mov	x4, #0
	mov	x5, x19
	bl	_bus_setup_intr
Lloh9:
	adrp	x8, _PL310_EVENT_COUNTER0_CONF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PL310_EVENT_COUNTER0_CONF@GOTPAGEOFF]
Lloh11:
	adrp	x20, _EVENT_COUNTER_CONF_INCR@GOTPAGE
Lloh12:
	ldr	x20, [x20, _EVENT_COUNTER_CONF_INCR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w8, [x20]
Lloh14:
	adrp	x9, _EVENT_COUNTER_CONF_CO@GOTPAGE
Lloh15:
	ldr	x9, [x9, _EVENT_COUNTER_CONF_CO@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_pl310_write4
Lloh17:
	adrp	x8, _PL310_EVENT_COUNTER1_CONF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PL310_EVENT_COUNTER1_CONF@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w8, [x20]
Lloh20:
	adrp	x9, _EVENT_COUNTER_CONF_DRREQ@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EVENT_COUNTER_CONF_DRREQ@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_pl310_write4
Lloh23:
	adrp	x8, _PL310_INTR_CLEAR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PL310_INTR_CLEAR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _INTR_MASK_ECNTR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _INTR_MASK_ECNTR@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_pl310_write4
Lloh29:
	adrp	x8, _PL310_INTR_MASK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PL310_INTR_MASK@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x8, _INTR_MASK_ALL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _INTR_MASK_ALL@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_pl310_write4
Lloh35:
	adrp	x8, _PL310_EVENT_COUNTER_CTRL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PL310_EVENT_COUNTER_CTRL@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x8, _EVENT_COUNTER_CTRL_ENABLED@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EVENT_COUNTER_CTRL_ENABLED@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _EVENT_COUNTER_CTRL_C0_RESET@GOTPAGE
Lloh42:
	ldr	x9, [x9, _EVENT_COUNTER_CTRL_C0_RESET@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh44:
	adrp	x9, _EVENT_COUNTER_CTRL_C1_RESET@GOTPAGE
Lloh45:
	ldr	x9, [x9, _EVENT_COUNTER_CTRL_C1_RESET@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_pl310_write4
	ldr	x0, [x19]
	bl	_config_intrhook_disestablish
	ldr	x0, [x19]
Lloh47:
	adrp	x8, _M_DEVBUF@GOTPAGE
Lloh48:
	ldr	x8, [x8, _M_DEVBUF@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	bl	_free
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTR_TYPE_MISC,4,2             ; @INTR_TYPE_MISC
	.comm	_INTR_MPSAFE,4,2                ; @INTR_MPSAFE
	.comm	_pl310_filter,4,2               ; @pl310_filter
	.comm	_PL310_EVENT_COUNTER0_CONF,4,2  ; @PL310_EVENT_COUNTER0_CONF
	.comm	_EVENT_COUNTER_CONF_INCR,4,2    ; @EVENT_COUNTER_CONF_INCR
	.comm	_EVENT_COUNTER_CONF_CO,4,2      ; @EVENT_COUNTER_CONF_CO
	.comm	_PL310_EVENT_COUNTER1_CONF,4,2  ; @PL310_EVENT_COUNTER1_CONF
	.comm	_EVENT_COUNTER_CONF_DRREQ,4,2   ; @EVENT_COUNTER_CONF_DRREQ
	.comm	_PL310_INTR_CLEAR,4,2           ; @PL310_INTR_CLEAR
	.comm	_INTR_MASK_ECNTR,4,2            ; @INTR_MASK_ECNTR
	.comm	_PL310_INTR_MASK,4,2            ; @PL310_INTR_MASK
	.comm	_INTR_MASK_ALL,4,2              ; @INTR_MASK_ALL
	.comm	_PL310_EVENT_COUNTER_CTRL,4,2   ; @PL310_EVENT_COUNTER_CTRL
	.comm	_EVENT_COUNTER_CTRL_ENABLED,4,2 ; @EVENT_COUNTER_CTRL_ENABLED
	.comm	_EVENT_COUNTER_CTRL_C0_RESET,4,2 ; @EVENT_COUNTER_CTRL_C0_RESET
	.comm	_EVENT_COUNTER_CTRL_C1_RESET,4,2 ; @EVENT_COUNTER_CTRL_C1_RESET
	.comm	_M_DEVBUF,4,2                   ; @M_DEVBUF
	.no_dead_strip	_pl310_config_intr
.subsections_via_symbols
