	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function maxim_thermocouple_probe
_maxim_thermocouple_probe:              ## @maxim_thermocouple_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	%rdi, %r14
	callq	_spi_get_device_id
	movq	_maxim_thermocouple_chips@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	movq	(%rax), %r12
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	(%r12,%r12,2), %rax
	leaq	(%r15,%rax,4), %r12
	movq	_maxim_thermocouple_info@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rbx)
	movq	_MAXIM_THERMOCOUPLE_DRV_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movl	8(%r15,%rax,4), %ecx
	movl	%ecx, 20(%rbx)
	movl	4(%r15,%rax,4), %ecx
	movl	%ecx, 16(%rbx)
	movl	(%r15,%rax,4), %eax
	movl	%eax, 12(%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, (%rbx)
	movq	%rbx, %rdi
	callq	_iio_priv
	movq	%r14, 8(%rax)
	movq	%r12, (%rax)
	movq	_maxim_thermocouple_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_devm_iio_triggered_buffer_setup
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %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	_maxim_thermocouple_chips,8,3   ## @maxim_thermocouple_chips
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_maxim_thermocouple_info,4,2    ## @maxim_thermocouple_info
	.comm	_MAXIM_THERMOCOUPLE_DRV_NAME,4,2 ## @MAXIM_THERMOCOUPLE_DRV_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_maxim_thermocouple_trigger_handler,4,2 ## @maxim_thermocouple_trigger_handler
	.no_dead_strip	_maxim_thermocouple_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function maxim_thermocouple_probe
_maxim_thermocouple_probe:              ; @maxim_thermocouple_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	x19, x0
	bl	_spi_get_device_id
Lloh0:
	adrp	x8, _maxim_thermocouple_chips@GOTPAGE
Lloh1:
	ldr	x8, [x8, _maxim_thermocouple_chips@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	x22, [x0]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	w8, #12
	madd	x21, x22, x8, x21
Lloh3:
	adrp	x8, _maxim_thermocouple_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _maxim_thermocouple_info@GOTPAGEOFF]
Lloh5:
	adrp	x9, _MAXIM_THERMOCOUPLE_DRV_NAME@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAXIM_THERMOCOUPLE_DRV_NAME@GOTPAGEOFF]
	str	x8, [x0, #32]
Lloh7:
	ldr	w8, [x9]
	ldr	w9, [x21, #8]
	stp	w9, w8, [x0, #20]
	ldr	d0, [x21]
	stur	d0, [x0, #12]
Lloh8:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	str	x19, [x0]
	bl	_iio_priv
	stp	x21, x19, [x0]
Lloh11:
	adrp	x8, _maxim_thermocouple_trigger_handler@GOTPAGE
Lloh12:
	ldr	x8, [x8, _maxim_thermocouple_trigger_handler@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x4, #0
	bl	_devm_iio_triggered_buffer_setup
	cbnz	w0, LBB0_4
; %bb.2:
	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:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_maxim_thermocouple_chips,8,3   ; @maxim_thermocouple_chips
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_maxim_thermocouple_info,4,2    ; @maxim_thermocouple_info
	.comm	_MAXIM_THERMOCOUPLE_DRV_NAME,4,2 ; @MAXIM_THERMOCOUPLE_DRV_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_maxim_thermocouple_trigger_handler,4,2 ; @maxim_thermocouple_trigger_handler
	.no_dead_strip	_maxim_thermocouple_probe
.subsections_via_symbols
