	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mei_hdcp_probe
_mei_hdcp_probe:                        ## @mei_hdcp_probe
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_mei_cldev_enable
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	$0, -40(%rbp)
	movq	_mei_hdcp_component_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_component_match_add_typed
	movq	-40(%rbp), %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_mei_cldev_set_drvdata
	movq	%r14, %rdi
	callq	_kfree
	movq	%r15, %rdi
	callq	_mei_cldev_disable
	jmp	LBB0_8
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_8
LBB0_5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mei_cldev_set_drvdata
	movq	-40(%rbp), %rdx
	movq	_mei_component_master_ops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_component_master_add_with_match
	xorl	%ebx, %ebx
	testl	%eax, %eax
	js	LBB0_6
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_dev_err
	movl	%r12d, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mei_cldev_enable Failed. %d\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mei_hdcp_component_match,4,2   ## @mei_hdcp_component_match
	.comm	_mei_component_master_ops,4,2   ## @mei_component_master_ops
L_.str.1:                               ## @.str.1
	.asciz	"Master comp add failed %d\n"

	.no_dead_strip	_mei_hdcp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mei_hdcp_probe
_mei_hdcp_probe:                        ; @mei_hdcp_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_mei_cldev_enable
	tbnz	w0, #31, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.2:
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _mei_hdcp_component_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mei_hdcp_component_match@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x3, x20
	bl	_component_match_add_typed
	ldr	x0, [sp, #8]
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_4:
	mov	x0, x19
	mov	x1, #0
	bl	_mei_cldev_set_drvdata
	mov	x0, x20
	bl	_kfree
	mov	x0, x19
	bl	_mei_cldev_disable
	b	LBB0_8
LBB0_5:
	mov	x21, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_mei_cldev_set_drvdata
	ldr	x2, [sp, #8]
Lloh11:
	adrp	x1, _mei_component_master_ops@GOTPAGE
Lloh12:
	ldr	x1, [x1, _mei_component_master_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_component_master_add_with_match
	tbnz	w0, #31, LBB0_9
; %bb.7:
	mov	w21, #0
LBB0_8:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
LBB0_9:
	mov	x21, x0
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mei_cldev_enable Failed. %d\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mei_hdcp_component_match,4,2   ; @mei_hdcp_component_match
	.comm	_mei_component_master_ops,4,2   ; @mei_component_master_ops
l_.str.1:                               ; @.str.1
	.asciz	"Master comp add failed %d\n"

	.no_dead_strip	_mei_hdcp_probe
.subsections_via_symbols
