	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eeprom_probe
_eeprom_probe:                          ## @eeprom_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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	leaq	4(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	8(%rax), %edi
	movq	_EEPROM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$255, %esi
	callq	_memset
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, %rdi
	addq	$4, %rdi
	callq	_mutex_init
	movq	_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	cmpl	$87, (%rbx)
	jne	LBB0_7
## %bb.3:
	movq	_I2C_FUNC_SMBUS_READ_BYTE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_i2c_check_functionality
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	movl	$128, %esi
	callq	_i2c_smbus_read_byte_data
	movb	%al, -36(%rbp)
	movq	%rbx, %rdi
	movl	$129, %esi
	callq	_i2c_smbus_read_byte_data
	movb	%al, -35(%rbp)
	movq	%rbx, %rdi
	movl	$130, %esi
	callq	_i2c_smbus_read_byte_data
	movb	%al, -34(%rbp)
	movq	%rbx, %rdi
	movl	$131, %esi
	callq	_i2c_smbus_read_byte_data
	movb	%al, -33(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-36(%rbp), %rdi
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdi
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	movq	_VAIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_7:
	movq	_eeprom_attr@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_bin_file
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EEPROM_SIZE,4,2                ## @EEPROM_SIZE
	.comm	_UNKNOWN,4,2                    ## @UNKNOWN
	.comm	_I2C_FUNC_SMBUS_READ_BYTE_DATA,4,2 ## @I2C_FUNC_SMBUS_READ_BYTE_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCG-"

L_.str.1:                               ## @.str.1
	.asciz	"VGN-"

L_.str.2:                               ## @.str.2
	.asciz	"Vaio EEPROM detected, enabling privacy protection\n"

	.comm	_VAIO,4,2                       ## @VAIO
	.comm	_eeprom_attr,4,2                ## @eeprom_attr
	.no_dead_strip	_eeprom_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eeprom_probe
_eeprom_probe:                          ; @eeprom_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x0
	ldr	x22, [x0, #8]
	add	x19, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #12
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x8, _EEPROM_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EEPROM_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #255
	bl	_memset
	mov	x0, x21
	mov	x1, x20
	bl	_i2c_set_clientdata
	add	x0, x20, #4
	bl	_mutex_init
Lloh6:
	adrp	x8, _UNKNOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UNKNOWN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20]
	ldr	w8, [x21]
	cmp	w8, #87
	b.ne	LBB0_6
; %bb.2:
Lloh9:
	adrp	x8, _I2C_FUNC_SMBUS_READ_BYTE_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_READ_BYTE_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_i2c_check_functionality
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x21
	mov	w1, #128
	bl	_i2c_smbus_read_byte_data
	strb	w0, [sp, #12]
	mov	x0, x21
	mov	w1, #129
	bl	_i2c_smbus_read_byte_data
	strb	w0, [sp, #13]
	mov	x0, x21
	mov	w1, #130
	bl	_i2c_smbus_read_byte_data
	strb	w0, [sp, #14]
	mov	x0, x21
	mov	w1, #131
	bl	_i2c_smbus_read_byte_data
	strb	w0, [sp, #15]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #12
	mov	w2, #4
	bl	_memcmp
	cbz	w0, LBB0_5
; %bb.4:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #12
	mov	w2, #4
	bl	_memcmp
	cbnz	w0, LBB0_6
LBB0_5:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_info
Lloh18:
	adrp	x8, _VAIO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VAIO@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_6:
Lloh21:
	adrp	x1, _eeprom_attr@GOTPAGE
Lloh22:
	ldr	x1, [x1, _eeprom_attr@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_bin_file
	b	LBB0_8
LBB0_7:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EEPROM_SIZE,4,2                ; @EEPROM_SIZE
	.comm	_UNKNOWN,4,2                    ; @UNKNOWN
	.comm	_I2C_FUNC_SMBUS_READ_BYTE_DATA,4,2 ; @I2C_FUNC_SMBUS_READ_BYTE_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCG-"

l_.str.1:                               ; @.str.1
	.asciz	"VGN-"

l_.str.2:                               ; @.str.2
	.asciz	"Vaio EEPROM detected, enabling privacy protection\n"

	.comm	_VAIO,4,2                       ; @VAIO
	.comm	_eeprom_attr,4,2                ; @eeprom_attr
	.no_dead_strip	_eeprom_probe
.subsections_via_symbols
