	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmu_poll_adb                   ## -- Begin function pmu_poll_adb
	.p2align	4, 0x90
_pmu_poll_adb:                          ## @pmu_poll_adb
	.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	_pmu_state@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_uninitialized@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.1:
	movq	_disable_poll@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.2:
	movq	_adb_int_pending@GOTPCREL(%rip), %r15
	movl	$1, (%r15)
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_via_pmu_interrupt
	movq	_pmu_suspended@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.3:
	movq	_idle@GOTPCREL(%rip), %r12
	movq	_req_awaiting_reply@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_via_pmu_interrupt
	cmpq	$0, (%rbx)
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r15)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	cmpq	(%r12), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%r13)
	jne	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pmu_state,8,3                  ## @pmu_state
	.comm	_uninitialized,8,3              ## @uninitialized
	.comm	_disable_poll,8,3               ## @disable_poll
	.comm	_adb_int_pending,4,2            ## @adb_int_pending
	.comm	_pmu_suspended,8,3              ## @pmu_suspended
	.comm	_idle,8,3                       ## @idle
	.comm	_req_awaiting_reply,8,3         ## @req_awaiting_reply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmu_poll_adb                   ; -- Begin function pmu_poll_adb
	.p2align	2
_pmu_poll_adb:                          ; @pmu_poll_adb
	.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
Lloh0:
	adrp	x19, _pmu_state@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pmu_state@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _uninitialized@GOTPAGE
Lloh3:
	ldr	x9, [x9, _uninitialized@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _disable_poll@GOTPAGE
Lloh6:
	ldr	x10, [x10, _disable_poll@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x10, #0, #0, ne
	b.ne	LBB0_6
; %bb.1:
Lloh8:
	adrp	x20, _adb_int_pending@GOTPAGE
Lloh9:
	ldr	x20, [x20, _adb_int_pending@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x20]
	mov	w0, #0
	mov	x1, #0
	bl	_via_pmu_interrupt
Lloh10:
	adrp	x21, _pmu_suspended@GOTPAGE
Lloh11:
	ldr	x21, [x21, _pmu_suspended@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.2:
Lloh12:
	adrp	x22, _idle@GOTPAGE
Lloh13:
	ldr	x22, [x22, _idle@GOTPAGEOFF]
Lloh14:
	adrp	x23, _req_awaiting_reply@GOTPAGE
Lloh15:
	ldr	x23, [x23, _req_awaiting_reply@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	mov	x1, #0
	bl	_via_pmu_interrupt
	ldr	x8, [x21]
	cbz	x8, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	x10, [x23]
	cmp	x8, x9
	ccmp	x10, #0, #0, eq
	b.ne	LBB0_3
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_pmu_state,8,3                  ; @pmu_state
	.comm	_uninitialized,8,3              ; @uninitialized
	.comm	_disable_poll,8,3               ; @disable_poll
	.comm	_adb_int_pending,4,2            ; @adb_int_pending
	.comm	_pmu_suspended,8,3              ; @pmu_suspended
	.comm	_idle,8,3                       ; @idle
	.comm	_req_awaiting_reply,8,3         ; @req_awaiting_reply
.subsections_via_symbols
