	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___thread_dispatch              ## -- Begin function __thread_dispatch
	.p2align	4, 0x90
___thread_dispatch:                     ## @__thread_dispatch
	.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
	callq	__CPU_ISR_Disable
	movq	__context_switch_want@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	__thr_executing@GOTPCREL(%rip), %r13
	movq	(%r13), %r14
	movq	___lwp_thr_libc_reent@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	__cpu_context_switch
	movq	(%r13), %r14
	callq	__CPU_ISR_Disable
	movq	(%r15), %rax
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	__thr_heir@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	__thread_dispatch_disable_level@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	%rbx, (%r13)
	callq	__CPU_ISR_Restore
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %ecx
	movl	%ecx, 4(%r14)
	movl	4(%rbx), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_4
LBB0_5:
	movq	__thread_dispatch_disable_level@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__CPU_ISR_Restore               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__thr_executing,8,3             ## @_thr_executing
	.comm	__context_switch_want,8,3       ## @_context_switch_want
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	__thr_heir,8,3                  ## @_thr_heir
	.comm	__thread_dispatch_disable_level,4,2 ## @_thread_dispatch_disable_level
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	___lwp_thr_libc_reent,8,3       ## @__lwp_thr_libc_reent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___thread_dispatch              ; -- Begin function __thread_dispatch
	.p2align	2
___thread_dispatch:                     ; @__thread_dispatch
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	__CPU_ISR_Disable
Lloh0:
	adrp	x21, __context_switch_want@GOTPAGE
Lloh1:
	ldr	x21, [x21, __context_switch_want@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _TRUE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh4:
	adrp	x23, __thread_dispatch_disable_level@GOTPAGE
Lloh5:
	ldr	x23, [x23, __thread_dispatch_disable_level@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
Lloh6:
	adrp	x24, __thr_executing@GOTPAGE
Lloh7:
	ldr	x24, [x24, __thr_executing@GOTPAGEOFF]
Lloh8:
	adrp	x25, __thr_heir@GOTPAGE
Lloh9:
	ldr	x25, [x25, __thr_heir@GOTPAGEOFF]
	ldr	x19, [x24]
	mov	w26, #1
Lloh10:
	adrp	x27, _FALSE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _FALSE@GOTPAGEOFF]
Lloh12:
	adrp	x28, ___lwp_thr_libc_reent@GOTPAGE
Lloh13:
	ldr	x28, [x28, ___lwp_thr_libc_reent@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	__cpu_context_switch
	ldr	x19, [x24]
	bl	__CPU_ISR_Disable
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x25]
	str	w26, [x23]
	ldr	x8, [x27]
	str	x8, [x21]
	str	x20, [x24]
	bl	__CPU_ISR_Restore
	ldr	x8, [x28]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x8]
	str	w9, [x19, #4]
	ldr	w9, [x20, #4]
	str	w9, [x8]
	b	LBB0_2
LBB0_5:
	str	wzr, [x23]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	__CPU_ISR_Restore
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	__thr_executing,8,3             ; @_thr_executing
	.comm	__context_switch_want,8,3       ; @_context_switch_want
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	__thr_heir,8,3                  ; @_thr_heir
	.comm	__thread_dispatch_disable_level,4,2 ; @_thread_dispatch_disable_level
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	___lwp_thr_libc_reent,8,3       ; @__lwp_thr_libc_reent
.subsections_via_symbols
