	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stack_save_td                  ## -- Begin function stack_save_td
	.p2align	4, 0x90
_stack_save_td:                         ## @stack_save_td
	.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	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_TD_IS_SWAPPED
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	%rbx, %rdi
	callq	_TD_IS_RUNNING
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stack_save_td: swapped"

L_.str.1:                               ## @.str.1
	.asciz	"stack_save_td: running"

	.comm	_FP,8,3                         ## @FP
	.comm	_SP,8,3                         ## @SP
	.comm	_LR,8,3                         ## @LR
	.comm	_PC,8,3                         ## @PC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stack_save_td                  ; -- Begin function stack_save_td
	.p2align	2
_stack_save_td:                         ; @stack_save_td
	.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
	mov	x19, x1
	mov	x0, x1
	bl	_TD_IS_SWAPPED
	cmp	w0, #0
	cset	w0, eq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	mov	x0, x19
	bl	_TD_IS_RUNNING
	cmp	w0, #0
	cset	w0, eq
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_KASSERT
	brk	#0x1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stack_save_td: swapped"

l_.str.1:                               ; @.str.1
	.asciz	"stack_save_td: running"

	.comm	_FP,8,3                         ; @FP
	.comm	_SP,8,3                         ; @SP
	.comm	_LR,8,3                         ; @LR
	.comm	_PC,8,3                         ; @PC
.subsections_via_symbols
