	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __gsc_m2m_job_abort
___gsc_m2m_job_abort:                   ## @__gsc_m2m_job_abort
	.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	%rdi, %rbx
	callq	_gsc_m2m_ctx_stop_req
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_3
## %bb.1:
	movq	_GSC_CTX_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_2
LBB0_3:
	movq	_GSC_CTX_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, (%rbx)
	je	LBB0_4
LBB0_2:
	movq	_GSC_CTX_STOP_REQ@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_gsc_ctx_state_lock_clear
	movq	_VB2_BUF_STATE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_gsc_m2m_job_finish             ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_GSC_CTX_ABORT,4,2              ## @GSC_CTX_ABORT
	.comm	_GSC_CTX_STOP_REQ,4,2           ## @GSC_CTX_STOP_REQ
	.comm	_VB2_BUF_STATE_ERROR,4,2        ## @VB2_BUF_STATE_ERROR
	.no_dead_strip	___gsc_m2m_job_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __gsc_m2m_job_abort
___gsc_m2m_job_abort:                   ; @__gsc_m2m_job_abort
	.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, x0
	bl	_gsc_m2m_ctx_stop_req
Lloh0:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _GSC_CTX_ABORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSC_CTX_ABORT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	b	LBB0_3
LBB0_2:
	ldr	w9, [x19]
Lloh6:
	adrp	x8, _GSC_CTX_ABORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GSC_CTX_ABORT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_4
LBB0_3:
Lloh9:
	adrp	x9, _GSC_CTX_STOP_REQ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GSC_CTX_STOP_REQ@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w8, w9
	mov	x1, x19
	bl	_gsc_ctx_state_lock_clear
Lloh12:
	adrp	x8, _VB2_BUF_STATE_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VB2_BUF_STATE_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gsc_m2m_job_finish
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_GSC_CTX_ABORT,4,2              ; @GSC_CTX_ABORT
	.comm	_GSC_CTX_STOP_REQ,4,2           ; @GSC_CTX_STOP_REQ
	.comm	_VB2_BUF_STATE_ERROR,4,2        ; @VB2_BUF_STATE_ERROR
	.no_dead_strip	___gsc_m2m_job_abort
.subsections_via_symbols
