	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cc_poller
_cc_poller:                             ## @cc_poller
	.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	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_OSM_LOG_ENTER
	movq	(%r14), %rax
	movq	_OSM_THREAD_STATE_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_OSM_THREAD_STATE_RUN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_2:
	movq	_OSM_THREAD_STATE_RUN@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_8
## %bb.3:
	leaq	20(%r14), %r15
	leaq	16(%r14), %r13
	leaq	12(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_EVENT_NO_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_cl_event_wait_on
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	cmpq	(%r12), %rax
	jne	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_cl_spinlock_acquire
	movq	%r13, %rdi
	callq	_cl_qlist_remove_head
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_cl_spinlock_release
	movq	%r13, %rdi
	callq	_cl_qlist_end
	cmpq	%rax, %rbx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_cc_poller_send
	jmp	LBB0_7
LBB0_8:
	movl	8(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OSM_LOG_EXIT                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_THREAD_STATE_NONE,8,3      ## @OSM_THREAD_STATE_NONE
	.comm	_OSM_THREAD_STATE_RUN,8,3       ## @OSM_THREAD_STATE_RUN
	.comm	_EVENT_NO_TIMEOUT,4,2           ## @EVENT_NO_TIMEOUT
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_cc_poller
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cc_poller
_cc_poller:                             ; @cc_poller
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_OSM_LOG_ENTER
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _OSM_THREAD_STATE_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OSM_THREAD_STATE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x24, _OSM_THREAD_STATE_RUN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _OSM_THREAD_STATE_RUN@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x24]
	str	x8, [x19]
LBB0_2:
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.3:
	add	x20, x19, #20
	add	x21, x19, #16
	add	x22, x19, #12
Lloh5:
	adrp	x25, _EVENT_NO_TIMEOUT@GOTPAGE
Lloh6:
	ldr	x25, [x25, _EVENT_NO_TIMEOUT@GOTPAGEOFF]
Lloh7:
	adrp	x26, _TRUE@GOTPAGE
Lloh8:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x25]
	ldr	w2, [x26]
	mov	x0, x22
	bl	_cl_event_wait_on
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_cl_spinlock_acquire
	mov	x0, x21
	bl	_cl_qlist_remove_head
	mov	x23, x0
	mov	x0, x20
	bl	_cl_spinlock_release
	mov	x0, x21
	bl	_cl_qlist_end
	cmp	x23, x0
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_cc_poller_send
	b	LBB0_5
LBB0_8:
	ldr	w0, [x19, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_OSM_LOG_EXIT
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_THREAD_STATE_NONE,8,3      ; @OSM_THREAD_STATE_NONE
	.comm	_OSM_THREAD_STATE_RUN,8,3       ; @OSM_THREAD_STATE_RUN
	.comm	_EVENT_NO_TIMEOUT,4,2           ; @EVENT_NO_TIMEOUT
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_cc_poller
.subsections_via_symbols
