	.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	%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	%rdx, %r13
	movq	(%rdi), %r14
	xorl	%r15d, %r15d
	movl	$0, %ecx
	testl	%esi, %esi
	jns	LBB0_8
## %bb.1:
	movq	%rdi, %r12
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	_F75375_REG_VENDOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_f75375_read16
	movl	%eax, %ebx
	movq	_F75375_CHIP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_f75375_read16
	movl	%eax, %r13d
	movq	_F75375_REG_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_f75375_read8
	movl	%eax, %ecx
	cmpl	$774, %r13d                     ## imm = 0x306
	jne	LBB0_4
## %bb.2:
	cmpl	$6452, %ebx                     ## imm = 0x1934
	jne	LBB0_4
## %bb.3:
	movq	_f75375@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	cmpl	$516, %r13d                     ## imm = 0x204
	jne	LBB0_10
## %bb.5:
	cmpl	$6452, %ebx                     ## imm = 0x1934
	jne	LBB0_10
## %bb.6:
	movq	_f75373@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_8:
	movq	_f75375@GOTPCREL(%rip), %rax
	movq	_f75373@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %esi
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str(%rip), %rdi
	cmoveq	%rdx, %rdi
	cmpl	(%rax), %esi
	leaq	L_.str.2(%rip), %rbx
	cmovneq	%rdi, %rbx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_dev_info
	movl	(%r13), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_strlcpy
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %edx
	movl	%ebx, %r8d
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_F75375_REG_VENDOR,4,2          ## @F75375_REG_VENDOR
	.comm	_F75375_CHIP_ID,4,2             ## @F75375_CHIP_ID
	.comm	_F75375_REG_VERSION,4,2         ## @F75375_REG_VERSION
	.comm	_f75375,4,2                     ## @f75375
	.comm	_f75373,4,2                     ## @f75373
L_.str.1:                               ## @.str.1
	.asciz	"failed,%02X,%02X,%02X\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"f75375"

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

L_.str.4:                               ## @.str.4
	.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	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, x2
	ldr	x20, [x0]
	tbnz	w1, #31, LBB0_2
; %bb.1:
	mov	w3, #0
	b	LBB0_8
LBB0_2:
	mov	x23, x0
Lloh0:
	adrp	x8, _F75375_REG_VENDOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F75375_REG_VENDOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_f75375_read16
	mov	x21, x0
Lloh3:
	adrp	x8, _F75375_CHIP_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F75375_CHIP_ID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_f75375_read16
	mov	x22, x0
Lloh6:
	adrp	x8, _F75375_REG_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _F75375_REG_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_f75375_read8
	mov	x3, x0
	cmp	w22, #774
	mov	w8, #6452
	ccmp	w21, w8, #0, eq
	b.eq	LBB0_5
; %bb.3:
	cmp	w22, #516
	ccmp	w21, w8, #0, eq
	b.eq	LBB0_6
; %bb.4:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	mov	x4, x21
	bl	_dev_err
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_5:
Lloh14:
	adrp	x8, _f75375@GOTPAGE
Lloh15:
	ldr	x8, [x8, _f75375@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x8, _f75373@GOTPAGE
Lloh17:
	ldr	x8, [x8, _f75373@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
LBB0_8:
Lloh18:
	adrp	x8, _f75375@GOTPAGE
Lloh19:
	ldr	x8, [x8, _f75375@GOTPAGEOFF]
Lloh20:
	adrp	x9, _f75373@GOTPAGE
Lloh21:
	ldr	x9, [x9, _f75373@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, l_.str@PAGE
Lloh25:
	add	x10, x10, l_.str@PAGEOFF
Lloh26:
	adrp	x11, l_.str.3@PAGE
Lloh27:
	add	x11, x11, l_.str.3@PAGEOFF
	cmp	w1, w9
	csel	x9, x11, x10, eq
Lloh28:
	adrp	x10, l_.str.2@PAGE
Lloh29:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w1, w8
	csel	x21, x10, x9, eq
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_dev_info
	ldr	w0, [x19]
Lloh32:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_strlcpy
	mov	w0, #0
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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_F75375_REG_VENDOR,4,2          ; @F75375_REG_VENDOR
	.comm	_F75375_CHIP_ID,4,2             ; @F75375_CHIP_ID
	.comm	_F75375_REG_VERSION,4,2         ; @F75375_REG_VERSION
	.comm	_f75375,4,2                     ; @f75375
	.comm	_f75373,4,2                     ; @f75373
l_.str.1:                               ; @.str.1
	.asciz	"failed,%02X,%02X,%02X\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"f75375"

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

l_.str.4:                               ; @.str.4
	.asciz	"found %s version: %02X\n"

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