	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_pipeline_event
_get_pipeline_event:                    ## @get_pipeline_event
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_GLB_IRQ_STATUS_LPU0@GOTPCREL(%rip), %rax
	movq	_GLB_IRQ_STATUS_LPU1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%esi, %ecx
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_get_lpu_event
	movl	%eax, %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	_GLB_IRQ_STATUS_CU0@GOTPCREL(%rip), %rax
	movq	_GLB_IRQ_STATUS_CU1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_get_cu_event
	orl	%eax, %ebx
LBB0_5:
	movq	_GLB_IRQ_STATUS_DOU0@GOTPCREL(%rip), %rax
	movq	_GLB_IRQ_STATUS_DOU1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_get_dou_event
	orl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLB_IRQ_STATUS_LPU0,4,2        ## @GLB_IRQ_STATUS_LPU0
	.comm	_GLB_IRQ_STATUS_LPU1,4,2        ## @GLB_IRQ_STATUS_LPU1
	.comm	_GLB_IRQ_STATUS_CU0,4,2         ## @GLB_IRQ_STATUS_CU0
	.comm	_GLB_IRQ_STATUS_CU1,4,2         ## @GLB_IRQ_STATUS_CU1
	.comm	_GLB_IRQ_STATUS_DOU0,4,2        ## @GLB_IRQ_STATUS_DOU0
	.comm	_GLB_IRQ_STATUS_DOU1,4,2        ## @GLB_IRQ_STATUS_DOU1
	.no_dead_strip	_get_pipeline_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_pipeline_event
_get_pipeline_event:                    ; @get_pipeline_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GLB_IRQ_STATUS_LPU0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLB_IRQ_STATUS_LPU0@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GLB_IRQ_STATUS_LPU1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GLB_IRQ_STATUS_LPU1@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_get_lpu_event
	mov	x21, x0
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
Lloh6:
	adrp	x8, _GLB_IRQ_STATUS_CU0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GLB_IRQ_STATUS_CU0@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _GLB_IRQ_STATUS_CU1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GLB_IRQ_STATUS_CU1@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_get_cu_event
	orr	w21, w0, w21
LBB0_5:
Lloh12:
	adrp	x8, _GLB_IRQ_STATUS_DOU0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GLB_IRQ_STATUS_DOU0@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _GLB_IRQ_STATUS_DOU1@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GLB_IRQ_STATUS_DOU1@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_get_dou_event
	orr	w21, w0, w21
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GLB_IRQ_STATUS_LPU0,4,2        ; @GLB_IRQ_STATUS_LPU0
	.comm	_GLB_IRQ_STATUS_LPU1,4,2        ; @GLB_IRQ_STATUS_LPU1
	.comm	_GLB_IRQ_STATUS_CU0,4,2         ; @GLB_IRQ_STATUS_CU0
	.comm	_GLB_IRQ_STATUS_CU1,4,2         ; @GLB_IRQ_STATUS_CU1
	.comm	_GLB_IRQ_STATUS_DOU0,4,2        ; @GLB_IRQ_STATUS_DOU0
	.comm	_GLB_IRQ_STATUS_DOU1,4,2        ; @GLB_IRQ_STATUS_DOU1
	.no_dead_strip	_get_pipeline_event
.subsections_via_symbols
