	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adp1653_probe
_adp1653_probe:                         ## @adp1653_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, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movq	%rax, %r14
	movl	8(%r15), %edx
	testl	%edx, %edx
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_adp1653_of_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_5:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, 32(%r14)
LBB0_8:
	leaq	24(%r12), %rdi
	callq	_mutex_init
	addq	$8, %r12
	movq	_adp1653_ops@GOTPCREL(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_v4l2_i2c_subdev_init
	movq	_adp1653_internal_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r14)
	movq	_V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r14)
	movq	%r14, %rdi
	callq	_adp1653_init_controls
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_9
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	%r14, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_12
LBB0_9:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_media_entity_pads_init
	testl	%eax, %eax
	js	LBB0_10
## %bb.13:
	movq	_MEDIA_ENT_F_FLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_10:
	movl	%eax, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Neither DT not platform data provided\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_adp1653_ops,4,2                ## @adp1653_ops
	.comm	_adp1653_internal_ops,4,2       ## @adp1653_internal_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_MEDIA_ENT_F_FLASH,4,2          ## @MEDIA_ENT_F_FLASH
L_.str.1:                               ## @.str.1
	.asciz	"adp1653: failed to register device\n"

	.no_dead_strip	_adp1653_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adp1653_probe
_adp1653_probe:                         ; @adp1653_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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w2, [x19, #8]
	cbz	w2, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_adp1653_of_init
	mov	x21, x0
	cbnz	w0, LBB0_11
	b	LBB0_7
LBB0_3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_5:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.6:
	str	x8, [x20, #32]
LBB0_7:
	add	x0, x20, #24
	bl	_mutex_init
	add	x22, x20, #8
Lloh5:
	adrp	x2, _adp1653_ops@GOTPAGE
Lloh6:
	ldr	x2, [x2, _adp1653_ops@GOTPAGEOFF]
	mov	x0, x22
	mov	x1, x19
	bl	_v4l2_i2c_subdev_init
Lloh7:
	adrp	x8, _adp1653_internal_ops@GOTPAGE
Lloh8:
	ldr	x8, [x8, _adp1653_internal_ops@GOTPAGEOFF]
	str	x8, [x20, #16]
Lloh9:
	adrp	x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x20, #12]
	orr	w8, w9, w8
	str	w8, [x20, #12]
	mov	x0, x20
	bl	_adp1653_init_controls
	mov	x21, x0
	cbz	w0, LBB0_9
LBB0_8:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x20
	bl	_v4l2_ctrl_handler_free
	b	LBB0_11
LBB0_9:
	mov	x0, x22
	mov	w1, #0
	mov	x2, #0
	bl	_media_entity_pads_init
	tbnz	w0, #31, LBB0_13
; %bb.10:
	mov	w21, #0
Lloh14:
	adrp	x8, _MEDIA_ENT_F_FLASH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MEDIA_ENT_F_FLASH@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x22]
LBB0_11:
	mov	x0, x21
	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_12:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_13:
	mov	x21, x0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Neither DT not platform data provided\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_adp1653_ops,4,2                ; @adp1653_ops
	.comm	_adp1653_internal_ops,4,2       ; @adp1653_internal_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_MEDIA_ENT_F_FLASH,4,2          ; @MEDIA_ENT_F_FLASH
l_.str.1:                               ; @.str.1
	.asciz	"adp1653: failed to register device\n"

	.no_dead_strip	_adp1653_probe
.subsections_via_symbols
