	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_disc_info
_check_disc_info:                       ## @check_disc_info
	.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
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_bd_get_disc_info
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rcx
	cmpl	$0, 32(%rax)
	je	LBB0_3
## %bb.4:
	cmpq	$0, 24(%rcx)
	je	LBB0_9
## %bb.5:
	cmpl	$0, 20(%rcx)
	je	LBB0_6
LBB0_9:
	xorl	%eax, %eax
	cmpq	$0, 8(%rcx)
	je	LBB0_13
## %bb.10:
	cmpl	$0, (%rcx)
	jne	LBB0_13
## %bb.11:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_12
LBB0_1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_12
LBB0_3:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_12
LBB0_6:
	cmpl	$0, 16(%rcx)
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	je	LBB0_7
## %bb.8:
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_12
LBB0_7:
	leaq	L_.str.2(%rip), %rdx
LBB0_12:
	movq	%rbx, %rdi
	callq	_av_log
	movl	$-1, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bd_get_disc_info() failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"BluRay disc not detected\n"

L_.str.2:                               ## @.str.2
	.asciz	"Media stream encrypted with AACS, install and configure libaacs\n"

L_.str.3:                               ## @.str.3
	.asciz	"Your libaacs can't decrypt this media\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unable to decrypt BD+ encrypted media\n"

	.no_dead_strip	_check_disc_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_disc_info
_check_disc_info:                       ; @check_disc_info
	.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
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_bd_get_disc_info
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_8
; %bb.2:
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_9
LBB0_4:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w8, [x0]
	cbz	w8, LBB0_11
LBB0_6:
	mov	w0, #0
	b	LBB0_14
LBB0_7:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_13
LBB0_8:
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_9:
	ldr	w8, [x0, #16]
Lloh10:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x9]
	cbz	w8, LBB0_12
; %bb.10:
Lloh13:
	adrp	x2, l_.str.3@PAGE
Lloh14:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_11:
Lloh15:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.4@PAGE
Lloh19:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_13:
	mov	x0, x19
	bl	_av_log
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bd_get_disc_info() failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"BluRay disc not detected\n"

l_.str.2:                               ; @.str.2
	.asciz	"Media stream encrypted with AACS, install and configure libaacs\n"

l_.str.3:                               ; @.str.3
	.asciz	"Your libaacs can't decrypt this media\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unable to decrypt BD+ encrypted media\n"

	.no_dead_strip	_check_disc_info
.subsections_via_symbols
