	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icy_probe
_icy_probe:                             ## @icy_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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	l___const.icy_probe.ltc2990_info+16(%rip), %rax
	movq	%rax, -48(%rbp)
	movups	l___const.icy_probe.ltc2990_info(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_dev_set_drvdata
	movq	%r14, 24(%r12)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	%r15, 8(%r12)
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	8(%r14), %rsi
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_devm_request_mem_region
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	leaq	8(%r14), %rbx
	movq	(%rbx), %rdi
	callq	_ZTWO_VADDR
	movq	%rax, 56(%r12)
	movq	(%rbx), %rdi
	addq	$2, %rdi
	callq	_ZTWO_VADDR
	movq	%rax, 48(%r12)
	movq	%r12, 24(%r15)
	movq	_icy_pcf_setpcf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_icy_pcf_getpcf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	_icy_pcf_getown@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_icy_pcf_getclock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_icy_pcf_waitforpin@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r12, %rdi
	callq	_i2c_pcf_add_bus
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_dev_info
	movq	_icy_ltc2990_props@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_fwnode_create_software_node
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_PTR_ERR
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_dev_info
	jmp	LBB0_11
LBB0_10:
	movq	%r15, 40(%r12)
	movq	%r15, -48(%rbp)
	movq	_icy_ltc2990_addresses@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_i2c_new_probed_device
	movl	%eax, 32(%r12)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ltc2990"

	.section	__DATA,__const
	.p2align	3                               ## @__const.icy_probe.ltc2990_info
l___const.icy_probe.ltc2990_info:
	.quad	L_.str
	.long	76                              ## 0x4c
	.space	4
	.quad	0

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"ICY I2C Zorro adapter"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_icy_pcf_setpcf,4,2             ## @icy_pcf_setpcf
	.comm	_icy_pcf_getpcf,4,2             ## @icy_pcf_getpcf
	.comm	_icy_pcf_getown,4,2             ## @icy_pcf_getown
	.comm	_icy_pcf_getclock,4,2           ## @icy_pcf_getclock
	.comm	_icy_pcf_waitforpin,4,2         ## @icy_pcf_waitforpin
L_.str.2:                               ## @.str.2
	.asciz	"i2c_pcf_add_bus() failed\n"

L_.str.3:                               ## @.str.3
	.asciz	"ICY I2C controller at %pa, IRQ not implemented\n"

	.comm	_icy_ltc2990_props,4,2          ## @icy_ltc2990_props
L_.str.4:                               ## @.str.4
	.asciz	"Failed to create fwnode for LTC2990, error: %ld\n"

	.comm	_icy_ltc2990_addresses,4,2      ## @icy_ltc2990_addresses
	.no_dead_strip	_icy_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icy_probe
_icy_probe:                             ; @icy_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, l___const.icy_probe.ltc2990_info@PAGE
Lloh1:
	add	x8, x8, l___const.icy_probe.ltc2990_info@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]
Lloh2:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	str	x19, [x20, #24]
Lloh4:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	str	x21, [x20, #8]
	ldr	w0, [x20]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
	mov	x22, x19
	ldr	x1, [x22, #8]!
	ldr	w3, [x20]
	mov	x0, x19
	mov	w2, #4
	bl	_devm_request_mem_region
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x0, [x22]
	bl	_ZTWO_VADDR
	str	x0, [x20, #56]
	ldr	x8, [x22]
	add	x0, x8, #2
	bl	_ZTWO_VADDR
	str	x0, [x20, #48]
	str	x20, [x21, #24]
Lloh9:
	adrp	x8, _icy_pcf_setpcf@GOTPAGE
Lloh10:
	ldr	x8, [x8, _icy_pcf_setpcf@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x21, #16]
Lloh12:
	adrp	x8, _icy_pcf_getpcf@GOTPAGE
Lloh13:
	ldr	x8, [x8, _icy_pcf_getpcf@GOTPAGEOFF]
Lloh14:
	adrp	x9, _icy_pcf_getown@GOTPAGE
Lloh15:
	ldr	x9, [x9, _icy_pcf_getown@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #8]
Lloh18:
	adrp	x8, _icy_pcf_getclock@GOTPAGE
Lloh19:
	ldr	x8, [x8, _icy_pcf_getclock@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _icy_pcf_waitforpin@GOTPAGE
Lloh22:
	ldr	x9, [x9, _icy_pcf_waitforpin@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x21]
	mov	x0, x20
	bl	_i2c_pcf_add_bus
	cbz	x0, LBB0_9
; %bb.4:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_5:
Lloh26:
	adrp	x8, _ENXIO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh28:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_info
Lloh32:
	adrp	x8, _icy_ltc2990_props@GOTPAGE
Lloh33:
	ldr	x8, [x8, _icy_ltc2990_props@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_fwnode_create_software_node
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x2, x0
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w0, #0
	b	LBB0_8
LBB0_11:
	str	x21, [x20, #40]
	str	x21, [sp, #16]
Lloh37:
	adrp	x8, _icy_ltc2990_addresses@GOTPAGE
Lloh38:
	ldr	x8, [x8, _icy_ltc2990_addresses@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x20
	mov	x3, #0
	bl	_i2c_new_probed_device
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20, #32]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ltc2990"

	.section	__DATA,__const
	.p2align	3                               ; @__const.icy_probe.ltc2990_info
l___const.icy_probe.ltc2990_info:
	.quad	l_.str
	.long	76                              ; 0x4c
	.space	4
	.quad	0

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"ICY I2C Zorro adapter"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_icy_pcf_setpcf,4,2             ; @icy_pcf_setpcf
	.comm	_icy_pcf_getpcf,4,2             ; @icy_pcf_getpcf
	.comm	_icy_pcf_getown,4,2             ; @icy_pcf_getown
	.comm	_icy_pcf_getclock,4,2           ; @icy_pcf_getclock
	.comm	_icy_pcf_waitforpin,4,2         ; @icy_pcf_waitforpin
l_.str.2:                               ; @.str.2
	.asciz	"i2c_pcf_add_bus() failed\n"

l_.str.3:                               ; @.str.3
	.asciz	"ICY I2C controller at %pa, IRQ not implemented\n"

	.comm	_icy_ltc2990_props,4,2          ; @icy_ltc2990_props
l_.str.4:                               ; @.str.4
	.asciz	"Failed to create fwnode for LTC2990, error: %ld\n"

	.comm	_icy_ltc2990_addresses,4,2      ; @icy_ltc2990_addresses
	.no_dead_strip	_icy_probe
.subsections_via_symbols
