	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function veml6070_probe
_veml6070_probe:                        ## @veml6070_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, %r15
	movl	$24, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, 8(%r14)
	leaq	16(%r14), %rdi
	callq	_mutex_init
	movq	%r15, 24(%rbx)
	movq	_veml6070_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	_veml6070_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 12(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 8(%rbx)
	movq	_VEML6070_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	4(%r15), %edi
	movq	_VEML6070_ADDR_DATA_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_new_dummy_device
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	4(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_7
LBB0_3:
	movq	_VEML6070_IT_10@GOTPCREL(%rip), %rax
	movq	_VEML6070_COMMAND_RSRVD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_VEML6070_COMMAND_SD@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%esi, (%r14)
	movq	8(%r14), %rdi
	callq	_i2c_smbus_write_byte
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_iio_device_register
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_7
	jmp	LBB0_6
LBB0_4:
	movl	%eax, %r15d
LBB0_6:
	movl	4(%r14), %edi
	callq	_i2c_unregister_device
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_veml6070_info,4,2              ## @veml6070_info
	.comm	_veml6070_channels,4,2          ## @veml6070_channels
	.comm	_VEML6070_DRV_NAME,4,2          ## @VEML6070_DRV_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_VEML6070_ADDR_DATA_LSB,4,2     ## @VEML6070_ADDR_DATA_LSB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i2c device for second chip address failed\n"

	.comm	_VEML6070_IT_10,4,2             ## @VEML6070_IT_10
	.comm	_VEML6070_COMMAND_RSRVD,4,2     ## @VEML6070_COMMAND_RSRVD
	.comm	_VEML6070_COMMAND_SD,4,2        ## @VEML6070_COMMAND_SD
	.no_dead_strip	_veml6070_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function veml6070_probe
_veml6070_probe:                        ; @veml6070_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	x21, x0
	mov	w1, #24
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x19, x0
	mov	x0, x21
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x21, [x19, #8]
	add	x0, x19, #16
	bl	_mutex_init
Lloh0:
	adrp	x8, _veml6070_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _veml6070_info@GOTPAGEOFF]
	stp	x8, x21, [x20, #16]
Lloh2:
	adrp	x8, _veml6070_channels@GOTPAGE
Lloh3:
	ldr	x8, [x8, _veml6070_channels@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	w0, [x20, #12]
	bl	_ARRAY_SIZE
	str	w0, [x20, #8]
Lloh5:
	adrp	x8, _VEML6070_DRV_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VEML6070_DRV_NAME@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _INDIO_DIRECT_MODE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	ldr	w0, [x21, #4]
Lloh11:
	adrp	x8, _VEML6070_ADDR_DATA_LSB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VEML6070_ADDR_DATA_LSB@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_i2c_new_dummy_device
	str	w0, [x19, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	w0, [x19, #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
	b	_PTR_ERR
LBB0_3:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_4:
Lloh19:
	adrp	x8, _VEML6070_IT_10@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VEML6070_IT_10@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _VEML6070_COMMAND_RSRVD@GOTPAGE
Lloh23:
	ldr	x9, [x9, _VEML6070_COMMAND_RSRVD@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh25:
	adrp	x9, _VEML6070_COMMAND_SD@GOTPAGE
Lloh26:
	ldr	x9, [x9, _VEML6070_COMMAND_SD@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w1, w8, w9
	str	w1, [x19]
	ldr	x0, [x19, #8]
	bl	_i2c_smbus_write_byte
	tbnz	w0, #31, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_iio_device_register
	mov	x21, x0
	tbz	w0, #31, LBB0_8
	b	LBB0_7
LBB0_6:
	mov	x21, x0
LBB0_7:
	ldr	w0, [x19, #4]
	bl	_i2c_unregister_device
LBB0_8:
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_veml6070_info,4,2              ; @veml6070_info
	.comm	_veml6070_channels,4,2          ; @veml6070_channels
	.comm	_VEML6070_DRV_NAME,4,2          ; @VEML6070_DRV_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_VEML6070_ADDR_DATA_LSB,4,2     ; @VEML6070_ADDR_DATA_LSB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i2c device for second chip address failed\n"

	.comm	_VEML6070_IT_10,4,2             ; @VEML6070_IT_10
	.comm	_VEML6070_COMMAND_RSRVD,4,2     ; @VEML6070_COMMAND_RSRVD
	.comm	_VEML6070_COMMAND_SD,4,2        ; @VEML6070_COMMAND_SD
	.no_dead_strip	_veml6070_probe
.subsections_via_symbols
