	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function eeprom_93xx46_probe
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	4                               ## 0x4
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_eeprom_93xx46_probe:                   ## @eeprom_93xx46_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_eeprom_93xx46_probe_dt
	testl	%eax, %eax
	js	LBB0_15
LBB0_2:
	movq	(%r14), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$112, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %rbx
	movl	(%r15), %ecx
	movq	_EE_ADDR8@GOTPCREL(%rip), %r12
	movl	$7, %eax
	testl	%ecx, (%r12)
	jne	LBB0_10
## %bb.8:
	movq	_EE_ADDR16@GOTPCREL(%rip), %rdx
	movl	$6, %eax
	testl	%ecx, (%rdx)
	je	LBB0_9
LBB0_10:
	movl	%eax, (%rbx)
	leaq	104(%rbx), %rdi
	callq	_mutex_init
	movq	%r14, 96(%rbx)
	movq	%r15, 88(%rbx)
	movl	$128, 4(%rbx)
	movq	%r14, %rdi
	callq	_dev_name
	movq	%rbx, %rsi
	addq	$16, %rsi
	movl	%eax, 80(%rbx)
	movq	%r14, 72(%rbx)
	movq	_EE_READONLY@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	andl	(%r15), %eax
	movl	%eax, 16(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	%r14, 56(%rbx)
	movq	_eeprom_93xx46_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_eeprom_93xx46_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	%rbx, 40(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,4,1]
	movups	%xmm0, 20(%rbx)
	movl	4(%rbx), %eax
	movl	%eax, 36(%rbx)
	movq	%r14, %rdi
	callq	_devm_nvmem_register
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.16:
	movl	8(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	(%r15), %eax
	xorl	%ecx, %ecx
	movl	(%r12), %edx
	andl	%eax, %edx
	sete	%cl
	leal	8(,%rcx,8), %edx
	andl	(%r13), %eax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	movl	(%r13), %eax
	testl	%eax, (%r15)
	jne	LBB0_14
## %bb.12:
	movq	_dev_attr_erase@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_14:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_spi_set_drvdata
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing platform data\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EE_ADDR8,4,2                   ## @EE_ADDR8
	.comm	_EE_ADDR16,4,2                  ## @EE_ADDR16
L_.str.1:                               ## @.str.1
	.asciz	"unspecified address type\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EE_READONLY,4,2                ## @EE_READONLY
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_eeprom_93xx46_read,4,2         ## @eeprom_93xx46_read
	.comm	_eeprom_93xx46_write,4,2        ## @eeprom_93xx46_write
L_.str.2:                               ## @.str.2
	.asciz	"%d-bit eeprom %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"(readonly)"

L_.str.4:                               ## @.str.4
	.space	1

	.comm	_dev_attr_erase,4,2             ## @dev_attr_erase
L_.str.5:                               ## @.str.5
	.asciz	"can't create erase interface\n"

	.no_dead_strip	_eeprom_93xx46_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function eeprom_93xx46_probe
lCPI0_0:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_eeprom_93xx46_probe:                   ; @eeprom_93xx46_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_eeprom_93xx46_probe_dt
	tbnz	w0, #31, LBB0_9
LBB0_2:
	ldr	x21, [x19]
	cbz	x21, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #112
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
	ldr	w8, [x21]
Lloh3:
	adrp	x22, _EE_ADDR8@GOTPAGE
Lloh4:
	ldr	x22, [x22, _EE_ADDR8@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.5:
	mov	w8, #7
	b	LBB0_12
LBB0_6:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh11:
	adrp	x9, _EE_ADDR16@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EE_ADDR16@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.11:
	mov	w8, #6
LBB0_12:
	str	w8, [x20]
	add	x0, x20, #104
	bl	_mutex_init
	stp	x21, x19, [x20, #88]
	mov	w8, #128
	str	w8, [x20, #4]
	mov	x0, x19
	bl	_dev_name
	str	w0, [x20, #80]
	ldr	w8, [x21]
Lloh14:
	adrp	x23, _EE_READONLY@GOTPAGE
Lloh15:
	ldr	x23, [x23, _EE_READONLY@GOTPAGEOFF]
	ldr	w9, [x23]
	and	w8, w9, w8
	mov	x1, x20
	str	w8, [x1, #16]!
Lloh16:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
	str	x19, [x20, #72]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20, #64]
	str	x19, [x20, #56]
Lloh19:
	adrp	x8, _eeprom_93xx46_read@GOTPAGE
Lloh20:
	ldr	x8, [x8, _eeprom_93xx46_read@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _eeprom_93xx46_write@GOTPAGE
Lloh23:
	ldr	x9, [x9, _eeprom_93xx46_write@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #48]
	str	x20, [x20, #40]
Lloh25:
	adrp	x8, lCPI0_0@PAGE
Lloh26:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x20, #20]
	ldr	w8, [x20, #4]
	str	w8, [x20, #36]
	mov	x0, x19
	bl	_devm_nvmem_register
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w0, [x20, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_14:
	ldr	w8, [x21]
	ldr	w9, [x22]
	tst	w9, w8
	mov	w9, #8
	mov	w10, #16
	csel	w2, w10, w9, eq
	ldr	w9, [x23]
Lloh27:
	adrp	x10, l_.str.3@PAGE
Lloh28:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh29:
	adrp	x11, l_.str.4@PAGE
Lloh30:
	add	x11, x11, l_.str.4@PAGEOFF
	tst	w9, w8
	csel	x3, x11, x10, eq
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	ldr	w8, [x21]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_17
; %bb.15:
Lloh33:
	adrp	x1, _dev_attr_erase@GOTPAGE
Lloh34:
	ldr	x1, [x1, _dev_attr_erase@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbz	x0, LBB0_17
; %bb.16:
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_17:
	mov	x0, x19
	mov	x1, x20
	bl	_spi_set_drvdata
	mov	w0, #0
	b	LBB0_9
LBB0_18:
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh39:
	adrp	x8, _EINVAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing platform data\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EE_ADDR8,4,2                   ; @EE_ADDR8
	.comm	_EE_ADDR16,4,2                  ; @EE_ADDR16
l_.str.1:                               ; @.str.1
	.asciz	"unspecified address type\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EE_READONLY,4,2                ; @EE_READONLY
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_eeprom_93xx46_read,4,2         ; @eeprom_93xx46_read
	.comm	_eeprom_93xx46_write,4,2        ; @eeprom_93xx46_write
l_.str.2:                               ; @.str.2
	.asciz	"%d-bit eeprom %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"(readonly)"

l_.str.4:                               ; @.str.4
	.space	1

	.comm	_dev_attr_erase,4,2             ; @dev_attr_erase
l_.str.5:                               ; @.str.5
	.asciz	"can't create erase interface\n"

	.no_dead_strip	_eeprom_93xx46_probe
.subsections_via_symbols
