	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_identify
_dib8000_identify:                      ## @dib8000_identify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$896, %esi                      ## imm = 0x380
	callq	_dib8000_i2c_read16
	movq	%rbx, %rdi
	movl	$896, %esi                      ## imm = 0x380
	callq	_dib8000_i2c_read16
	cmpl	$435, %eax                      ## imm = 0x1B3
	jne	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	movl	$897, %esi                      ## imm = 0x381
	callq	_dib8000_i2c_read16
	cmpl	$32769, %eax                    ## imm = 0x8001
	jg	LBB0_7
## %bb.4:
	cmpl	$32768, %eax                    ## imm = 0x8000
	je	LBB0_10
## %bb.5:
	cmpl	$32769, %eax                    ## imm = 0x8001
	jne	LBB0_9
## %bb.6:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movl	$32769, %ebx                    ## imm = 0x8001
	jmp	LBB0_13
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_dprintk
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	cmpl	$32770, %eax                    ## imm = 0x8002
	je	LBB0_11
## %bb.8:
	cmpl	$32912, %eax                    ## imm = 0x8090
	jne	LBB0_9
## %bb.12:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movl	$32912, %ebx                    ## imm = 0x8090
	jmp	LBB0_13
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movl	$32768, %ebx                    ## imm = 0x8000
	jmp	LBB0_13
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movl	$32770, %ebx                    ## imm = 0x8002
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wrong Vendor ID (read=0x%x)\n"

L_.str.1:                               ## @.str.1
	.asciz	"wrong Device ID (%x)\n"

L_.str.2:                               ## @.str.2
	.asciz	"found DiB8000A\n"

L_.str.3:                               ## @.str.3
	.asciz	"found DiB8000B\n"

L_.str.4:                               ## @.str.4
	.asciz	"found DiB8000C\n"

L_.str.5:                               ## @.str.5
	.asciz	"found DiB8096P\n"

	.no_dead_strip	_dib8000_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8000_identify
_dib8000_identify:                      ; @dib8000_identify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	w1, #896
	bl	_dib8000_i2c_read16
	mov	x0, x19
	mov	w1, #896
	bl	_dib8000_i2c_read16
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #435
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x19
	mov	w1, #897
	bl	_dib8000_i2c_read16
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w8, #32769
	cmp	w0, w8
	b.gt	LBB0_8
; %bb.2:
	cmp	w0, #8, lsl #12                 ; =32768
	b.eq	LBB0_12
; %bb.3:
	mov	w8, #32769
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.4:
Lloh0:
	adrp	x0, l_.str.3@PAGE
Lloh1:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dprintk
	mov	w0, #32769
	b	LBB0_7
LBB0_5:
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	bl	_dprintk
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	mov	w8, #32770
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.9:
	mov	w8, #32912
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.10:
Lloh4:
	adrp	x0, l_.str.5@PAGE
Lloh5:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dprintk
	mov	w0, #32912
	b	LBB0_7
LBB0_11:
	str	x0, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_12:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dprintk
	mov	w0, #32768
	b	LBB0_7
LBB0_13:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dprintk
	mov	w0, #32770
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wrong Vendor ID (read=0x%x)\n"

l_.str.1:                               ; @.str.1
	.asciz	"wrong Device ID (%x)\n"

l_.str.2:                               ; @.str.2
	.asciz	"found DiB8000A\n"

l_.str.3:                               ; @.str.3
	.asciz	"found DiB8000B\n"

l_.str.4:                               ; @.str.4
	.asciz	"found DiB8000C\n"

l_.str.5:                               ; @.str.5
	.asciz	"found DiB8096P\n"

	.no_dead_strip	_dib8000_identify
.subsections_via_symbols
