	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function switch_to_ready_state
_switch_to_ready_state:                 ## @switch_to_ready_state
	.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, %r14d
	movq	%rdi, %rbx
	movq	_STATE_READY@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_get_state_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_NS_DBG
	movl	(%r15), %eax
	movl	%eax, 76(%rbx)
	movq	_STATE_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movups	%xmm0, 40(%rbx)
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 8(%rbx)
	movl	%r14d, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"switch_to_ready_state: switch to %s state\n"

	.comm	_STATE_READY,4,2                ## @STATE_READY
	.comm	_STATE_UNKNOWN,4,2              ## @STATE_UNKNOWN
	.no_dead_strip	_switch_to_ready_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function switch_to_ready_state
_switch_to_ready_state:                 ; @switch_to_ready_state
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _STATE_READY@GOTPAGE
Lloh1:
	ldr	x21, [x21, _STATE_READY@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_get_state_name
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_NS_DBG
	ldr	w8, [x21]
Lloh4:
	adrp	x9, _STATE_UNKNOWN@GOTPAGE
Lloh5:
	ldr	x9, [x9, _STATE_UNKNOWN@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #72]
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #8]
	stur	q0, [x20, #24]
	stur	q0, [x20, #40]
	stur	q0, [x20, #56]
	str	w19, [x20]
	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	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"switch_to_ready_state: switch to %s state\n"

	.comm	_STATE_READY,4,2                ; @STATE_READY
	.comm	_STATE_UNKNOWN,4,2              ; @STATE_UNKNOWN
	.no_dead_strip	_switch_to_ready_state
.subsections_via_symbols
