	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DRX_Stop
_DRX_Stop:                              ## @DRX_Stop
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	movq	_DRXD_STARTED@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_17
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_CSCD_SAVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_DRX_GetLockStatus
	testl	%eax, %eax
	js	LBB0_17
LBB0_3:
	movq	%rbx, %rdi
	callq	_StopOC
	testl	%eax, %eax
	js	LBB0_17
## %bb.4:
	movq	_DRXD_STOPPED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ConfigureMPEGOutput
	testl	%eax, %eax
	js	LBB0_17
## %bb.5:
	cmpq	$0, 16(%rbx)
	je	LBB0_9
## %bb.6:
	movq	_EC_OD_REG_COMM_EXEC__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_Write16
	testl	%eax, %eax
	js	LBB0_17
## %bb.7:
	movq	_SC_COMM_EXEC__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SC_COMM_EXEC_CTL_STOP@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	testl	%eax, %eax
	js	LBB0_17
## %bb.8:
	movl	(%r14), %r14d
	movq	_LC_COMM_EXEC__A@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_Write16
	jmp	LBB0_17
LBB0_9:
	movq	_B_SC_COMM_EXEC__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SC_COMM_EXEC_CTL_STOP@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	testl	%eax, %eax
	js	LBB0_17
## %bb.10:
	movq	_B_LC_COMM_EXEC__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	testl	%eax, %eax
	js	LBB0_17
## %bb.11:
	movq	_B_FT_COMM_EXEC__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	testl	%eax, %eax
	js	LBB0_17
## %bb.12:
	movq	_B_CP_COMM_EXEC__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	testl	%eax, %eax
	js	LBB0_17
## %bb.13:
	movq	_B_CE_COMM_EXEC__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	testl	%eax, %eax
	js	LBB0_17
## %bb.14:
	movq	_B_EQ_COMM_EXEC__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_Write16
	testl	%eax, %eax
	js	LBB0_17
## %bb.15:
	movq	_EC_OD_REG_COMM_EXEC__A@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRXD_STARTED,8,3               ## @DRXD_STARTED
	.comm	_CSCD_SAVED,8,3                 ## @CSCD_SAVED
	.comm	_DRXD_STOPPED,8,3               ## @DRXD_STOPPED
	.comm	_EC_OD_REG_COMM_EXEC__A,4,2     ## @EC_OD_REG_COMM_EXEC__A
	.comm	_SC_COMM_EXEC__A,4,2            ## @SC_COMM_EXEC__A
	.comm	_SC_COMM_EXEC_CTL_STOP,4,2      ## @SC_COMM_EXEC_CTL_STOP
	.comm	_LC_COMM_EXEC__A,4,2            ## @LC_COMM_EXEC__A
	.comm	_B_SC_COMM_EXEC__A,4,2          ## @B_SC_COMM_EXEC__A
	.comm	_B_LC_COMM_EXEC__A,4,2          ## @B_LC_COMM_EXEC__A
	.comm	_B_FT_COMM_EXEC__A,4,2          ## @B_FT_COMM_EXEC__A
	.comm	_B_CP_COMM_EXEC__A,4,2          ## @B_CP_COMM_EXEC__A
	.comm	_B_CE_COMM_EXEC__A,4,2          ## @B_CE_COMM_EXEC__A
	.comm	_B_EQ_COMM_EXEC__A,4,2          ## @B_EQ_COMM_EXEC__A
	.no_dead_strip	_DRX_Stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DRX_Stop
_DRX_Stop:                              ; @DRX_Stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DRXD_STARTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRXD_STARTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _CSCD_SAVED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CSCD_SAVED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	add	x1, sp, #12
	mov	x0, x19
	bl	_DRX_GetLockStatus
	tbnz	w0, #31, LBB0_11
LBB0_3:
	mov	x0, x19
	bl	_StopOC
	tbnz	w0, #31, LBB0_11
; %bb.4:
Lloh6:
	adrp	x8, _DRXD_STOPPED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DRXD_STOPPED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	_ConfigureMPEGOutput
	tbnz	w0, #31, LBB0_11
; %bb.5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_12
; %bb.6:
Lloh9:
	adrp	x8, _EC_OD_REG_COMM_EXEC__A@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EC_OD_REG_COMM_EXEC__A@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_Write16
	tbnz	w0, #31, LBB0_11
; %bb.7:
Lloh12:
	adrp	x8, _SC_COMM_EXEC__A@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SC_COMM_EXEC__A@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x20, _SC_COMM_EXEC_CTL_STOP@GOTPAGE
Lloh16:
	ldr	x20, [x20, _SC_COMM_EXEC_CTL_STOP@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_Write16
	tbnz	w0, #31, LBB0_11
; %bb.8:
	ldr	w2, [x20]
Lloh17:
	adrp	x8, _LC_COMM_EXEC__A@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LC_COMM_EXEC__A@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_Write16
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_12:
Lloh19:
	adrp	x8, _B_SC_COMM_EXEC__A@GOTPAGE
Lloh20:
	ldr	x8, [x8, _B_SC_COMM_EXEC__A@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x20, _SC_COMM_EXEC_CTL_STOP@GOTPAGE
Lloh23:
	ldr	x20, [x20, _SC_COMM_EXEC_CTL_STOP@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_Write16
	tbnz	w0, #31, LBB0_11
; %bb.13:
Lloh24:
	adrp	x8, _B_LC_COMM_EXEC__A@GOTPAGE
Lloh25:
	ldr	x8, [x8, _B_LC_COMM_EXEC__A@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_Write16
	tbnz	w0, #31, LBB0_11
; %bb.14:
Lloh27:
	adrp	x8, _B_FT_COMM_EXEC__A@GOTPAGE
Lloh28:
	ldr	x8, [x8, _B_FT_COMM_EXEC__A@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_Write16
	tbnz	w0, #31, LBB0_11
; %bb.15:
Lloh30:
	adrp	x8, _B_CP_COMM_EXEC__A@GOTPAGE
Lloh31:
	ldr	x8, [x8, _B_CP_COMM_EXEC__A@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_Write16
	tbnz	w0, #31, LBB0_11
; %bb.16:
Lloh33:
	adrp	x8, _B_CE_COMM_EXEC__A@GOTPAGE
Lloh34:
	ldr	x8, [x8, _B_CE_COMM_EXEC__A@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_Write16
	tbnz	w0, #31, LBB0_11
; %bb.17:
Lloh36:
	adrp	x8, _B_EQ_COMM_EXEC__A@GOTPAGE
Lloh37:
	ldr	x8, [x8, _B_EQ_COMM_EXEC__A@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_Write16
	tbnz	w0, #31, LBB0_11
; %bb.18:
	mov	w2, #0
Lloh39:
	adrp	x8, _EC_OD_REG_COMM_EXEC__A@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EC_OD_REG_COMM_EXEC__A@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_DRXD_STARTED,8,3               ; @DRXD_STARTED
	.comm	_CSCD_SAVED,8,3                 ; @CSCD_SAVED
	.comm	_DRXD_STOPPED,8,3               ; @DRXD_STOPPED
	.comm	_EC_OD_REG_COMM_EXEC__A,4,2     ; @EC_OD_REG_COMM_EXEC__A
	.comm	_SC_COMM_EXEC__A,4,2            ; @SC_COMM_EXEC__A
	.comm	_SC_COMM_EXEC_CTL_STOP,4,2      ; @SC_COMM_EXEC_CTL_STOP
	.comm	_LC_COMM_EXEC__A,4,2            ; @LC_COMM_EXEC__A
	.comm	_B_SC_COMM_EXEC__A,4,2          ; @B_SC_COMM_EXEC__A
	.comm	_B_LC_COMM_EXEC__A,4,2          ; @B_LC_COMM_EXEC__A
	.comm	_B_FT_COMM_EXEC__A,4,2          ; @B_FT_COMM_EXEC__A
	.comm	_B_CP_COMM_EXEC__A,4,2          ; @B_CP_COMM_EXEC__A
	.comm	_B_CE_COMM_EXEC__A,4,2          ; @B_CE_COMM_EXEC__A
	.comm	_B_EQ_COMM_EXEC__A,4,2          ; @B_EQ_COMM_EXEC__A
	.no_dead_strip	_DRX_Stop
.subsections_via_symbols
