	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mei_cl_device_probe
_mei_cl_device_probe:                   ## @mei_cl_device_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_to_mei_cl_device
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_to_mei_cl_driver
	xorl	%r15d, %r15d
	testq	%r14, %r14
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mei_cl_device_find
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_mei_cl_bus_module_get
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	*(%rbx)
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mei_cl_bus_module_put
	movl	%ebx, %r15d
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___module_get
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get hw module failed"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_mei_cl_device_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mei_cl_device_probe
_mei_cl_device_probe:                   ; @mei_cl_device_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	bl	_to_mei_cl_device
	mov	x19, x0
	ldr	w0, [x20]
	bl	_to_mei_cl_driver
	cbz	x19, LBB0_7
; %bb.1:
	mov	x20, x0
	cbz	x0, LBB0_9
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_mei_cl_device_find
	cbz	x0, LBB0_9
; %bb.4:
	mov	x21, x0
	mov	x0, x19
	bl	_mei_cl_bus_module_get
	cbz	w0, LBB0_8
; %bb.5:
	ldr	x8, [x20]
	mov	x0, x19
	mov	x1, x21
	blr	x8
	mov	x20, x0
	cbz	w0, LBB0_11
; %bb.6:
	mov	x0, x19
	bl	_mei_cl_bus_module_put
	b	LBB0_10
LBB0_7:
	mov	w20, #0
	b	LBB0_10
LBB0_8:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_9:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh5:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	___module_get
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get hw module failed"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_mei_cl_device_probe
.subsections_via_symbols
