	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_from_irq_stack                 ## -- Begin function from_irq_stack
	.p2align	4, 0x90
_from_irq_stack:                        ## @from_irq_stack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_current_thread_info
	movq	_pending_mask@GOTPCREL(%rip), %rdi
	movl	$1, (%rdi)
	movq	(%rax), %rcx
	movq	_current@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rdx)
	movq	$0, (%rax)
	movq	$0, (%rcx)
	xorl	%esi, %esi
	callq	_xchg
	andq	$-2, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pending_mask,4,2               ## @pending_mask
	.comm	_current,8,3                    ## @current
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_from_irq_stack                 ; -- Begin function from_irq_stack
	.p2align	2
_from_irq_stack:                        ; @from_irq_stack
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_current_thread_info
Lloh0:
	adrp	x8, _pending_mask@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pending_mask@GOTPAGEOFF]
	mov	w9, #1
	str	w9, [x8]
	ldr	x9, [x0]
Lloh2:
	adrp	x10, _current@GOTPAGE
Lloh3:
	ldr	x10, [x10, _current@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	str	x9, [x10]
	str	xzr, [x0]
	str	xzr, [x9]
	mov	x0, x8
	mov	w1, #0
	bl	_xchg
	and	x0, x0, #0xfffffffffffffffe
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_pending_mask,4,2               ; @pending_mask
	.comm	_current,8,3                    ; @current
.subsections_via_symbols
