	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_scdc_get_scrambling_status ## -- Begin function drm_scdc_get_scrambling_status
	.p2align	4, 0x90
_drm_scdc_get_scrambling_status:        ## @drm_scdc_get_scrambling_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_SCDC_SCRAMBLER_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_drm_scdc_readb
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_SCDC_SCRAMBLING_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-4(%rbp), %eax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DRM_DEBUG_KMS
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCDC_SCRAMBLER_STATUS,4,2      ## @SCDC_SCRAMBLER_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to read scrambling status: %d\n"

	.comm	_SCDC_SCRAMBLING_STATUS,4,2     ## @SCDC_SCRAMBLING_STATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_scdc_get_scrambling_status ; -- Begin function drm_scdc_get_scrambling_status
	.p2align	2
_drm_scdc_get_scrambling_status:        ; @drm_scdc_get_scrambling_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _SCDC_SCRAMBLER_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCDC_SCRAMBLER_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_drm_scdc_readb
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldur	w8, [x29, #-4]
Lloh3:
	adrp	x9, _SCDC_SCRAMBLING_STATUS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCDC_SCRAMBLING_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w0, w9, w8
	b	LBB0_3
LBB0_2:
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SCDC_SCRAMBLER_STATUS,4,2      ; @SCDC_SCRAMBLER_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to read scrambling status: %d\n"

	.comm	_SCDC_SCRAMBLING_STATUS,4,2     ; @SCDC_SCRAMBLING_STATUS
.subsections_via_symbols
