	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function op_TAS
_op_TAS:                                ## @op_TAS
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_EA_MODE
	movq	_EA_ADDRESS_REG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_op_ill                         ## TAILCALL
LBB0_1:
	movq	_SIZE_B@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-36(%rbp), %r8
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$1, %ecx
	callq	_ea_get
	cmpl	$0, -36(%rbp)
	js	LBB0_2
## %bb.3:
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_INSN_CLEAR_CC
	movl	%r15d, %edi
	callq	_INSN_SETNZ
	movl	(%r12), %edx
	orl	$128, %r15d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %ecx
	callq	_ea_set
	movl	%ebx, %edi
	callq	_EA_MODE
	movq	_EA_DATA_REG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$4, %ecx
	movl	$10, %eax
	cmovel	%ecx, %eax
	addl	-36(%rbp), %eax
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EA_ADDRESS_REG,8,3             ## @EA_ADDRESS_REG
	.comm	_SIZE_B,4,2                     ## @SIZE_B
	.comm	_EA_DATA_REG,8,3                ## @EA_DATA_REG
	.no_dead_strip	_op_TAS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function op_TAS
_op_TAS:                                ; @op_TAS
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x0, x1
	bl	_EA_MODE
Lloh0:
	adrp	x8, _EA_ADDRESS_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EA_ADDRESS_REG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_op_ill
LBB0_2:
Lloh3:
	adrp	x22, _SIZE_B@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SIZE_B@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	w3, #1
	bl	_ea_get
	ldr	w8, [sp, #12]
	tbnz	w8, #31, LBB0_4
; %bb.3:
	mov	x21, x0
	bl	_INSN_CLEAR_CC
	mov	x0, x21
	bl	_INSN_SETNZ
	ldr	w2, [x22]
	orr	w3, w21, #0x80
	mov	x0, x20
	mov	x1, x19
	bl	_ea_set
	mov	x0, x19
	bl	_EA_MODE
Lloh5:
	adrp	x8, _EA_DATA_REG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EA_DATA_REG@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	mov	w8, #10
	mov	w9, #4
	csel	w8, w9, w8, eq
	ldr	w9, [sp, #12]
	add	w0, w8, w9
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EA_ADDRESS_REG,8,3             ; @EA_ADDRESS_REG
	.comm	_SIZE_B,4,2                     ; @SIZE_B
	.comm	_EA_DATA_REG,8,3                ; @EA_DATA_REG
	.no_dead_strip	_op_TAS
.subsections_via_symbols
