	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vcnl4000_probe
_vcnl4000_probe:                        ## @vcnl4000_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	%rsi, %r12
	movq	%rdi, %r14
	movl	$32, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 24(%rbx)
	movq	(%r12), %rcx
	movq	%rcx, (%rbx)
	movq	_vcnl4000_chip_spec_cfg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdx
	movq	%rdx, 16(%rbx)
	movq	%rbx, %rdi
	callq	*(%rax,%rcx)
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	16(%rbx), %rax
	movl	8(%rax), %edx
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	%r14, 24(%r15)
	movq	_vcnl4000_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movq	_vcnl4000_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 12(%r15)
	callq	_ARRAY_SIZE
	movl	%eax, 8(%r15)
	movq	_VCNL4000_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_iio_device_register       ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_vcnl4000_chip_spec_cfg,8,3     ## @vcnl4000_chip_spec_cfg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s Ambient light/proximity sensor, Rev: %02x\n"

	.comm	_vcnl4000_info,4,2              ## @vcnl4000_info
	.comm	_vcnl4000_channels,4,2          ## @vcnl4000_channels
	.comm	_VCNL4000_DRV_NAME,4,2          ## @VCNL4000_DRV_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.no_dead_strip	_vcnl4000_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vcnl4000_probe
_vcnl4000_probe:                        ; @vcnl4000_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	x22, x1
	mov	x19, x0
	mov	w1, #32
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	ldr	x8, [x22]
	str	x8, [x21]
Lloh0:
	adrp	x9, _vcnl4000_chip_spec_cfg@GOTPAGE
Lloh1:
	ldr	x9, [x9, _vcnl4000_chip_spec_cfg@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsl	x8, x8, #4
	add	x10, x9, x8
	stp	x10, x19, [x21, #16]
	ldr	x8, [x9, x8]
	mov	x0, x21
	blr	x8
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	x8, [x21, #16]
	ldr	w2, [x8, #8]
	ldr	w3, [x21, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh5:
	adrp	x8, _vcnl4000_info@GOTPAGE
Lloh6:
	ldr	x8, [x8, _vcnl4000_info@GOTPAGEOFF]
	stp	x8, x19, [x20, #16]
Lloh7:
	adrp	x8, _vcnl4000_channels@GOTPAGE
Lloh8:
	ldr	x8, [x8, _vcnl4000_channels@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	str	w0, [x20, #12]
	bl	_ARRAY_SIZE
	str	w0, [x20, #8]
Lloh10:
	adrp	x8, _VCNL4000_DRV_NAME@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VCNL4000_DRV_NAME@GOTPAGEOFF]
Lloh12:
	adrp	x9, _INDIO_DIRECT_MODE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	mov	x0, x19
	mov	x1, 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
	b	_devm_iio_device_register
LBB0_3:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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 AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_vcnl4000_chip_spec_cfg,8,3     ; @vcnl4000_chip_spec_cfg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s Ambient light/proximity sensor, Rev: %02x\n"

	.comm	_vcnl4000_info,4,2              ; @vcnl4000_info
	.comm	_vcnl4000_channels,4,2          ; @vcnl4000_channels
	.comm	_VCNL4000_DRV_NAME,4,2          ; @VCNL4000_DRV_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.no_dead_strip	_vcnl4000_probe
.subsections_via_symbols
