	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clear_sge_ctxt
_clear_sge_ctxt:                        ## @clear_sge_ctxt
	.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
	movl	%edx, %r14d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	_A_SG_CONTEXT_DATA0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_t3_write_reg
	movq	_A_SG_CONTEXT_DATA1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_t3_write_reg
	movq	_A_SG_CONTEXT_DATA2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_t3_write_reg
	movq	_A_SG_CONTEXT_DATA3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_t3_write_reg
	movq	_A_SG_CONTEXT_MASK0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_t3_write_reg
	movq	_A_SG_CONTEXT_MASK1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_t3_write_reg
	movq	_A_SG_CONTEXT_MASK2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_t3_write_reg
	movq	_A_SG_CONTEXT_MASK3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_t3_write_reg
	movq	_A_SG_CONTEXT_CMD@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	movl	$1, %edi
	callq	_V_CONTEXT_CMD_OPCODE
	movl	%eax, %r13d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_V_CONTEXT
	orl	%eax, %r14d
	orl	%r13d, %r14d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	callq	_t3_write_reg
	movl	(%r15), %esi
	movq	_F_CONTEXT_CMD_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SG_CONTEXT_CMD_ATTEMPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t3_wait_op_done                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_A_SG_CONTEXT_DATA0,4,2         ## @A_SG_CONTEXT_DATA0
	.comm	_A_SG_CONTEXT_DATA1,4,2         ## @A_SG_CONTEXT_DATA1
	.comm	_A_SG_CONTEXT_DATA2,4,2         ## @A_SG_CONTEXT_DATA2
	.comm	_A_SG_CONTEXT_DATA3,4,2         ## @A_SG_CONTEXT_DATA3
	.comm	_A_SG_CONTEXT_MASK0,4,2         ## @A_SG_CONTEXT_MASK0
	.comm	_A_SG_CONTEXT_MASK1,4,2         ## @A_SG_CONTEXT_MASK1
	.comm	_A_SG_CONTEXT_MASK2,4,2         ## @A_SG_CONTEXT_MASK2
	.comm	_A_SG_CONTEXT_MASK3,4,2         ## @A_SG_CONTEXT_MASK3
	.comm	_A_SG_CONTEXT_CMD,4,2           ## @A_SG_CONTEXT_CMD
	.comm	_F_CONTEXT_CMD_BUSY,4,2         ## @F_CONTEXT_CMD_BUSY
	.comm	_SG_CONTEXT_CMD_ATTEMPTS,4,2    ## @SG_CONTEXT_CMD_ATTEMPTS
	.no_dead_strip	_clear_sge_ctxt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clear_sge_ctxt
_clear_sge_ctxt:                        ; @clear_sge_ctxt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _A_SG_CONTEXT_DATA0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _A_SG_CONTEXT_DATA0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_t3_write_reg
Lloh3:
	adrp	x8, _A_SG_CONTEXT_DATA1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _A_SG_CONTEXT_DATA1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_t3_write_reg
Lloh6:
	adrp	x8, _A_SG_CONTEXT_DATA2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _A_SG_CONTEXT_DATA2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_t3_write_reg
Lloh9:
	adrp	x8, _A_SG_CONTEXT_DATA3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _A_SG_CONTEXT_DATA3@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_t3_write_reg
Lloh12:
	adrp	x8, _A_SG_CONTEXT_MASK0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _A_SG_CONTEXT_MASK0@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_t3_write_reg
Lloh15:
	adrp	x8, _A_SG_CONTEXT_MASK1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _A_SG_CONTEXT_MASK1@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_t3_write_reg
Lloh18:
	adrp	x8, _A_SG_CONTEXT_MASK2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _A_SG_CONTEXT_MASK2@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_t3_write_reg
Lloh21:
	adrp	x8, _A_SG_CONTEXT_MASK3@GOTPAGE
Lloh22:
	ldr	x8, [x8, _A_SG_CONTEXT_MASK3@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_t3_write_reg
Lloh24:
	adrp	x23, _A_SG_CONTEXT_CMD@GOTPAGE
Lloh25:
	ldr	x23, [x23, _A_SG_CONTEXT_CMD@GOTPAGEOFF]
	ldr	w22, [x23]
	mov	w0, #1
	bl	_V_CONTEXT_CMD_OPCODE
	orr	w21, w0, w21
	mov	x0, x20
	bl	_V_CONTEXT
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x22
	bl	_t3_write_reg
	ldr	w1, [x23]
Lloh26:
	adrp	x8, _F_CONTEXT_CMD_BUSY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _F_CONTEXT_CMD_BUSY@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _SG_CONTEXT_CMD_ATTEMPTS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SG_CONTEXT_CMD_ATTEMPTS@GOTPAGEOFF]
Lloh31:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_t3_wait_op_done
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_A_SG_CONTEXT_DATA0,4,2         ; @A_SG_CONTEXT_DATA0
	.comm	_A_SG_CONTEXT_DATA1,4,2         ; @A_SG_CONTEXT_DATA1
	.comm	_A_SG_CONTEXT_DATA2,4,2         ; @A_SG_CONTEXT_DATA2
	.comm	_A_SG_CONTEXT_DATA3,4,2         ; @A_SG_CONTEXT_DATA3
	.comm	_A_SG_CONTEXT_MASK0,4,2         ; @A_SG_CONTEXT_MASK0
	.comm	_A_SG_CONTEXT_MASK1,4,2         ; @A_SG_CONTEXT_MASK1
	.comm	_A_SG_CONTEXT_MASK2,4,2         ; @A_SG_CONTEXT_MASK2
	.comm	_A_SG_CONTEXT_MASK3,4,2         ; @A_SG_CONTEXT_MASK3
	.comm	_A_SG_CONTEXT_CMD,4,2           ; @A_SG_CONTEXT_CMD
	.comm	_F_CONTEXT_CMD_BUSY,4,2         ; @F_CONTEXT_CMD_BUSY
	.comm	_SG_CONTEXT_CMD_ATTEMPTS,4,2    ; @SG_CONTEXT_CMD_ATTEMPTS
	.no_dead_strip	_clear_sge_ctxt
.subsections_via_symbols
