	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si4713_probe
_si4713_probe:                          ## @si4713_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	12(%r14), %eax
	movl	%eax, 12(%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_si4713_subdev_ops@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_v4l2_i2c_subdev_init
	leaq	8(%rbx), %rdi
	callq	_mutex_init
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_init_completion
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.5:
	movq	_si4713_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	movq	_IRQF_DISABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	8(%r14), %ecx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rcx
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_v4l2_dbg
	jmp	LBB0_9
LBB0_1:
	addq	$12, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_v4l2_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_12
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_v4l2_warn
LBB0_9:
	movq	%rbx, %rdi
	callq	_si4713_initialize
	movl	%eax, %r15d
	xorl	%eax, %eax
	testl	%r15d, %r15d
	jns	LBB0_13
## %bb.10:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_v4l2_err
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rsi
	callq	_free_irq
	jmp	LBB0_12
LBB0_6:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_v4l2_err
LBB0_12:
	movq	%rbx, %rdi
	callq	_kfree
	movl	%r15d, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to alloc video device.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"No platform data registered.\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_si4713_subdev_ops,4,2          ## @si4713_subdev_ops
	.comm	_si4713_handler,4,2             ## @si4713_handler
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_DISABLED,4,2              ## @IRQF_DISABLED
L_.str.2:                               ## @.str.2
	.asciz	"Could not request IRQ\n"

	.comm	_debug,4,2                      ## @debug
L_.str.3:                               ## @.str.3
	.asciz	"IRQ requested.\n"

L_.str.4:                               ## @.str.4
	.asciz	"IRQ not configured. Using timeouts.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to probe device information.\n"

	.no_dead_strip	_si4713_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si4713_probe
_si4713_probe:                          ; @si4713_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
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x20, #12]
	str	w8, [x0, #12]
	cbz	w8, LBB0_6
; %bb.2:
Lloh3:
	adrp	x2, _si4713_subdev_ops@GOTPAGE
Lloh4:
	ldr	x2, [x2, _si4713_subdev_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_v4l2_i2c_subdev_init
	add	x0, x19, #8
	bl	_mutex_init
	add	x0, x19, #4
	bl	_init_completion
	ldr	x0, [x20]
	cbz	x0, LBB0_7
; %bb.3:
Lloh5:
	adrp	x8, _si4713_handler@GOTPAGE
Lloh6:
	ldr	x8, [x8, _si4713_handler@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _IRQF_DISABLED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IRQF_DISABLED@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldr	w3, [x20, #8]
	mov	x4, x19
	bl	_request_irq
	tbnz	w0, #31, LBB0_12
; %bb.4:
Lloh14:
	adrp	x8, _debug@GOTPAGE
Lloh15:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x3, l_.str.3@PAGE
Lloh18:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_v4l2_dbg
	b	LBB0_8
LBB0_5:
	add	x0, x20, #12
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_14
LBB0_6:
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_v4l2_err
Lloh26:
	adrp	x8, _ENODEV@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_7:
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_v4l2_warn
LBB0_8:
	mov	x0, x19
	bl	_si4713_initialize
	tbnz	w0, #31, LBB0_10
; %bb.9:
	mov	w21, #0
	b	LBB0_14
LBB0_10:
	mov	x21, x0
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_v4l2_err
	ldr	x0, [x20]
	cbz	x0, LBB0_13
; %bb.11:
	mov	x1, x19
	bl	_free_irq
	b	LBB0_13
LBB0_12:
	mov	x21, x0
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_v4l2_err
LBB0_13:
	mov	x0, x19
	bl	_kfree
LBB0_14:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to alloc video device.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"No platform data registered.\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_si4713_subdev_ops,4,2          ; @si4713_subdev_ops
	.comm	_si4713_handler,4,2             ; @si4713_handler
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_DISABLED,4,2              ; @IRQF_DISABLED
l_.str.2:                               ; @.str.2
	.asciz	"Could not request IRQ\n"

	.comm	_debug,4,2                      ; @debug
l_.str.3:                               ; @.str.3
	.asciz	"IRQ requested.\n"

l_.str.4:                               ; @.str.4
	.asciz	"IRQ not configured. Using timeouts.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to probe device information.\n"

	.no_dead_strip	_si4713_probe
.subsections_via_symbols
