	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f75375_detect
_f75375_detect:                         ## @f75375_detect
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	_F75375_REG_VENDOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_f75375_read16
	movl	%eax, %r12d
	movq	_F75375_CHIP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_f75375_read16
	cmpl	$6452, %r12d                    ## imm = 0x1934
	jne	LBB0_1
## %bb.2:
	cmpl	$1040, %eax                     ## imm = 0x410
	je	LBB0_7
## %bb.3:
	cmpl	$774, %eax                      ## imm = 0x306
	je	LBB0_4
## %bb.5:
	cmpl	$516, %eax                      ## imm = 0x204
	jne	LBB0_1
## %bb.6:
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_8
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.2(%rip), %r12
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str(%rip), %r12
LBB0_8:
	movq	_F75375_REG_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_f75375_read8
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	%eax, %ecx
	callq	_dev_info
	movl	(%r14), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_strlcpy
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F75375_REG_VENDOR,4,2          ## @F75375_REG_VENDOR
	.comm	_F75375_CHIP_ID,4,2             ## @F75375_CHIP_ID
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"f75375"

L_.str.1:                               ## @.str.1
	.asciz	"f75373"

L_.str.2:                               ## @.str.2
	.asciz	"f75387"

	.comm	_F75375_REG_VERSION,4,2         ## @F75375_REG_VERSION
L_.str.3:                               ## @.str.3
	.asciz	"found %s version: %02X\n"

	.comm	_I2C_NAME_SIZE,4,2              ## @I2C_NAME_SIZE
	.no_dead_strip	_f75375_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f75375_detect
_f75375_detect:                         ; @f75375_detect
	.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, x1
	mov	x21, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _F75375_REG_VENDOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F75375_REG_VENDOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_f75375_read16
	mov	x22, x0
Lloh3:
	adrp	x8, _F75375_CHIP_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F75375_CHIP_ID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_f75375_read16
	mov	w8, #6452
	cmp	w22, w8
	b.ne	LBB0_5
; %bb.1:
	cmp	w0, #1040
	b.eq	LBB0_6
; %bb.2:
	cmp	w0, #774
	b.eq	LBB0_7
; %bb.3:
	cmp	w0, #516
	b.ne	LBB0_5
; %bb.4:
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
Lloh11:
	adrp	x22, l_.str.2@PAGE
Lloh12:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x22, l_.str@PAGE
Lloh14:
	add	x22, x22, l_.str@PAGEOFF
LBB0_8:
Lloh15:
	adrp	x8, _F75375_REG_VERSION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _F75375_REG_VERSION@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_f75375_read8
	mov	x3, x0
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_dev_info
	ldr	w0, [x19]
Lloh20:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_strlcpy
	mov	w0, #0
LBB0_9:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_F75375_REG_VENDOR,4,2          ; @F75375_REG_VENDOR
	.comm	_F75375_CHIP_ID,4,2             ; @F75375_CHIP_ID
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"f75375"

l_.str.1:                               ; @.str.1
	.asciz	"f75373"

l_.str.2:                               ; @.str.2
	.asciz	"f75387"

	.comm	_F75375_REG_VERSION,4,2         ; @F75375_REG_VERSION
l_.str.3:                               ; @.str.3
	.asciz	"found %s version: %02X\n"

	.comm	_I2C_NAME_SIZE,4,2              ; @I2C_NAME_SIZE
	.no_dead_strip	_f75375_detect
.subsections_via_symbols
