	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isl29125_probe
_isl29125_probe:                        ## @isl29125_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, %rbx
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	%rbx, 8(%r14)
	movq	%rbx, 24(%r15)
	movq	_isl29125_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movq	_ISL29125_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	_isl29125_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 8(%r15)
	callq	_ARRAY_SIZE
	movl	%eax, 4(%r15)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	8(%r14), %rdi
	movq	_ISL29125_DEVICE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_11
## %bb.2:
	movq	_ISL29125_ID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_9
## %bb.3:
	movq	_ISL29125_MODE_PD@GOTPCREL(%rip), %rax
	movq	_ISL29125_MODE_RANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%edx, (%r14)
	movq	8(%r14), %rdi
	movq	_ISL29125_CONF1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_12
## %bb.4:
	movq	8(%r14), %rdi
	movq	_ISL29125_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_12
## %bb.5:
	movq	_isl29125_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_isl29125_buffer_setup_ops@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_iio_triggered_buffer_setup
	testl	%eax, %eax
	js	LBB0_12
## %bb.6:
	movq	%r15, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	jns	LBB0_11
## %bb.7:
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_iio_triggered_buffer_cleanup
	movl	%r14d, %ebx
	jmp	LBB0_11
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_12:
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_isl29125_info,4,2              ## @isl29125_info
	.comm	_ISL29125_DRV_NAME,4,2          ## @ISL29125_DRV_NAME
	.comm	_isl29125_channels,4,2          ## @isl29125_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_ISL29125_DEVICE_ID,4,2         ## @ISL29125_DEVICE_ID
	.comm	_ISL29125_ID,4,2                ## @ISL29125_ID
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ISL29125_MODE_PD,4,2           ## @ISL29125_MODE_PD
	.comm	_ISL29125_MODE_RANGE,4,2        ## @ISL29125_MODE_RANGE
	.comm	_ISL29125_CONF1,4,2             ## @ISL29125_CONF1
	.comm	_ISL29125_STATUS,4,2            ## @ISL29125_STATUS
	.comm	_isl29125_trigger_handler,4,2   ## @isl29125_trigger_handler
	.comm	_isl29125_buffer_setup_ops,4,2  ## @isl29125_buffer_setup_ops
	.no_dead_strip	_isl29125_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isl29125_probe
_isl29125_probe:                        ; @isl29125_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, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	bl	_iio_priv
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_i2c_set_clientdata
	str	x21, [x20, #8]
Lloh0:
	adrp	x8, _isl29125_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _isl29125_info@GOTPAGEOFF]
	stp	x8, x21, [x19, #16]
Lloh2:
	adrp	x8, _ISL29125_DRV_NAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISL29125_DRV_NAME@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _isl29125_channels@GOTPAGE
Lloh6:
	ldr	x9, [x9, _isl29125_channels@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	stp	w0, w8, [x19, #8]
	bl	_ARRAY_SIZE
Lloh8:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w8, w0, [x19]
	ldr	x0, [x20, #8]
Lloh11:
	adrp	x8, _ISL29125_DEVICE_ID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ISL29125_DEVICE_ID@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
	mov	x21, x0
	tbnz	w0, #31, LBB0_12
; %bb.2:
Lloh14:
	adrp	x8, _ISL29125_ID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISL29125_ID@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_9
; %bb.3:
Lloh17:
	adrp	x8, _ISL29125_MODE_PD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ISL29125_MODE_PD@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _ISL29125_MODE_RANGE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ISL29125_MODE_RANGE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w2, w9, w8
	str	w2, [x20]
	ldr	x0, [x20, #8]
Lloh23:
	adrp	x8, _ISL29125_CONF1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ISL29125_CONF1@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_11
; %bb.4:
	ldr	x0, [x20, #8]
Lloh26:
	adrp	x8, _ISL29125_STATUS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ISL29125_STATUS@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_11
; %bb.5:
Lloh29:
	adrp	x8, _isl29125_trigger_handler@GOTPAGE
Lloh30:
	ldr	x8, [x8, _isl29125_trigger_handler@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x3, _isl29125_buffer_setup_ops@GOTPAGE
Lloh33:
	ldr	x3, [x3, _isl29125_buffer_setup_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	bl	_iio_triggered_buffer_setup
	tbnz	w0, #31, LBB0_11
; %bb.6:
	mov	x0, x19
	bl	_iio_device_register
	tbnz	w0, #31, LBB0_13
; %bb.7:
	mov	w21, #0
	b	LBB0_12
LBB0_8:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh36:
	adrp	x8, _ENODEV@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_12
LBB0_11:
	mov	x21, x0
LBB0_12:
	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_13:
	mov	x21, x0
	mov	x0, x19
	bl	_iio_triggered_buffer_cleanup
	b	LBB0_12
	.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 AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_isl29125_info,4,2              ; @isl29125_info
	.comm	_ISL29125_DRV_NAME,4,2          ; @ISL29125_DRV_NAME
	.comm	_isl29125_channels,4,2          ; @isl29125_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_ISL29125_DEVICE_ID,4,2         ; @ISL29125_DEVICE_ID
	.comm	_ISL29125_ID,4,2                ; @ISL29125_ID
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ISL29125_MODE_PD,4,2           ; @ISL29125_MODE_PD
	.comm	_ISL29125_MODE_RANGE,4,2        ; @ISL29125_MODE_RANGE
	.comm	_ISL29125_CONF1,4,2             ; @ISL29125_CONF1
	.comm	_ISL29125_STATUS,4,2            ; @ISL29125_STATUS
	.comm	_isl29125_trigger_handler,4,2   ; @isl29125_trigger_handler
	.comm	_isl29125_buffer_setup_ops,4,2  ; @isl29125_buffer_setup_ops
	.no_dead_strip	_isl29125_probe
.subsections_via_symbols
