	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_md_register_platform_entity
_fimc_md_register_platform_entity:      ## @fimc_md_register_platform_entity
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	subl	(%r13), %ebx
	movq	%rsi, %rdi
	callq	_device_lock
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movl	(%rax), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	movq	%r15, %rdi
	callq	_dev_get_drvdata
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	addl	$-128, %r12d
	cmpl	$3, %r12d
	ja	LBB0_6
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r12,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_5:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_register_fimc_is_entity
	jmp	LBB0_10
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_7:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_register_fimc_lite_entity
	jmp	LBB0_10
LBB0_8:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_register_fimc_entity
	jmp	LBB0_10
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_register_csis_entity
LBB0_10:
	movl	%eax, %ebx
LBB0_11:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_module_put
LBB0_12:
	movq	%r15, %rdi
	callq	_device_unlock
	movl	(%r13), %eax
	addl	%ebx, %eax
	jne	LBB0_14
## %bb.13:
	movq	(%r14), %r14
	movq	%r15, %rdi
	callq	_dev_name
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_info
	jmp	LBB0_16
LBB0_14:
	testl	%ebx, %ebx
	jns	LBB0_16
## %bb.15:
	movq	(%r14), %r14
	movq	%r15, %rdi
	callq	_dev_name
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_dev_err
LBB0_16:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"deferring %s device registration\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s device registration failed (%d)\n"

	.no_dead_strip	_fimc_md_register_platform_entity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_md_register_platform_entity
_fimc_md_register_platform_entity:      ; @fimc_md_register_platform_entity
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _EPROBE_DEFER@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EPROBE_DEFER@GOTPAGEOFF]
	ldr	w8, [x23]
	neg	w21, w8
	mov	x0, x1
	bl	_device_lock
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.1:
	ldr	w0, [x8]
	bl	_try_module_get
	cbz	w0, LBB0_12
; %bb.2:
	mov	x0, x19
	bl	_dev_get_drvdata
	cbz	x0, LBB0_11
; %bb.3:
	sub	w8, w22, #128
	cmp	w8, #3
	b.hi	LBB0_6
; %bb.4:
	mov	x2, x0
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	x0, x20
	mov	x1, x2
	bl	_register_fimc_is_entity
	b	LBB0_10
LBB0_6:
Lloh4:
	adrp	x8, _ENODEV@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_7:
	mov	x0, x20
	mov	x1, x2
	bl	_register_fimc_lite_entity
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	mov	x1, x2
	bl	_register_fimc_entity
	b	LBB0_10
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	bl	_register_csis_entity
LBB0_10:
	mov	x21, x0
LBB0_11:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_module_put
LBB0_12:
	mov	x0, x19
	bl	_device_unlock
	ldr	w8, [x23]
	cmn	w21, w8
	b.ne	LBB0_14
; %bb.13:
	ldr	x20, [x20]
	mov	x0, x19
	bl	_dev_name
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	b	LBB0_16
LBB0_14:
	tbz	w21, #31, LBB0_16
; %bb.15:
	ldr	x20, [x20]
	mov	x0, x19
	bl	_dev_name
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x21
	bl	_dev_err
LBB0_16:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
                                        ; -- End function
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"deferring %s device registration\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s device registration failed (%d)\n"

	.no_dead_strip	_fimc_md_register_platform_entity
.subsections_via_symbols
