	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max11100_probe
_max11100_probe:                        ## @max11100_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	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_spi_set_drvdata
	movq	%rbx, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r15, 8(%rax)
	movq	%r15, 40(%rbx)
	movl	(%r15), %eax
	movl	%eax, 32(%rbx)
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rbx)
	movq	_max11100_info@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_max11100_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 12(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 8(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_regulator_get
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	(%r14), %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	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:
	callq	_regulator_enable
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %r15d
	movl	(%r14), %edi
	callq	_regulator_disable
	jmp	LBB0_7
LBB0_5:
	xorl	%r15d, %r15d
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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"max11100"

	.comm	_max11100_info,4,2              ## @max11100_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_max11100_channels,4,2          ## @max11100_channels
L_.str.1:                               ## @.str.1
	.asciz	"vref"

	.no_dead_strip	_max11100_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max11100_probe
_max11100_probe:                        ; @max11100_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_3
; %bb.1:
	mov	x19, x0
	mov	x0, x21
	mov	x1, x19
	bl	_spi_set_drvdata
	mov	x0, x19
	bl	_iio_priv
	mov	x20, x0
	str	x21, [x0, #8]
	str	x21, [x19, #40]
	ldr	w8, [x21]
	str	w8, [x19, #32]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
Lloh2:
	adrp	x8, _max11100_info@GOTPAGE
Lloh3:
	ldr	x8, [x8, _max11100_info@GOTPAGEOFF]
	str	x8, [x19, #24]
Lloh4:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _max11100_channels@GOTPAGE
Lloh8:
	ldr	x9, [x9, _max11100_channels@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x9]
	stp	w0, w8, [x19, #12]
	bl	_ARRAY_SIZE
	str	w0, [x19, #8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_devm_regulator_get
	str	w0, [x20]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x20]
	cbz	x8, LBB0_4
; %bb.2:
	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:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_4:
	bl	_regulator_enable
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_iio_device_register
	mov	x21, x0
	cbz	w0, LBB0_7
; %bb.6:
	ldr	w0, [x20]
	bl	_regulator_disable
LBB0_7:
	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 AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"max11100"

	.comm	_max11100_info,4,2              ; @max11100_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_max11100_channels,4,2          ; @max11100_channels
l_.str.1:                               ; @.str.1
	.asciz	"vref"

	.no_dead_strip	_max11100_probe
.subsections_via_symbols
