	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmu_start
_pmu_start:                             ## @pmu_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_current_req@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	_pmu_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_idle@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	_req_awaiting_reply@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_3
## %bb.4:
	movq	_sending@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_data_index@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_pmu_data_len@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %eax
	movq	_data_len@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_wait_for_ack
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_send_byte                      ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_req,8,3                ## @current_req
	.comm	_pmu_state,8,3                  ## @pmu_state
	.comm	_idle,8,3                       ## @idle
	.comm	_req_awaiting_reply,8,3         ## @req_awaiting_reply
	.comm	_sending,8,3                    ## @sending
	.comm	_data_index,4,2                 ## @data_index
	.comm	_pmu_data_len,8,3               ## @pmu_data_len
	.comm	_data_len,4,2                   ## @data_len
	.no_dead_strip	_pmu_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmu_start
_pmu_start:                             ; @pmu_start
	.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
Lloh0:
	adrp	x8, _current_req@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_req@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	cbz	x19, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _pmu_state@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pmu_state@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh5:
	adrp	x10, _idle@GOTPAGE
Lloh6:
	ldr	x10, [x10, _idle@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x11, _req_awaiting_reply@GOTPAGE
Lloh9:
	ldr	x11, [x11, _req_awaiting_reply@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x11, #0, #0, eq
	b.eq	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh11:
	adrp	x9, _sending@GOTPAGE
Lloh12:
	ldr	x9, [x9, _sending@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	str	x9, [x8]
Lloh14:
	adrp	x8, _data_index@GOTPAGE
Lloh15:
	ldr	x8, [x8, _data_index@GOTPAGEOFF]
	mov	w9, #1
Lloh16:
	str	w9, [x8]
Lloh17:
	adrp	x8, _pmu_data_len@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pmu_data_len@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _data_len@GOTPAGE
Lloh21:
	ldr	x9, [x9, _data_len@GOTPAGEOFF]
Lloh22:
	str	w8, [x9]
	bl	_wait_for_ack
	ldr	x8, [x19]
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_send_byte
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_current_req,8,3                ; @current_req
	.comm	_pmu_state,8,3                  ; @pmu_state
	.comm	_idle,8,3                       ; @idle
	.comm	_req_awaiting_reply,8,3         ; @req_awaiting_reply
	.comm	_sending,8,3                    ; @sending
	.comm	_data_index,4,2                 ; @data_index
	.comm	_pmu_data_len,8,3               ; @pmu_data_len
	.comm	_data_len,4,2                   ; @data_len
	.no_dead_strip	_pmu_start
.subsections_via_symbols
