	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib7000m_identify
_dib7000m_identify:                     ## @dib7000m_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	_dib7000m_read_word
	cmpl	$435, %eax                      ## imm = 0x1B3
	jne	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	movl	$897, %esi                      ## imm = 0x381
	callq	_dib7000m_read_word
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, (%rbx)
	movl	%eax, %ecx
	andl	$-4, %ecx
	cmpl	$16384, %ecx                    ## imm = 0x4000
	jne	LBB0_5
## %bb.6:
	cmpl	$16384, %eax                    ## imm = 0x4000
	jne	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	movl	$769, %esi                      ## imm = 0x301
	callq	_dib7000m_read_word
	cmpl	$16384, %eax                    ## imm = 0x4000
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%eax, %esi
	jmp	LBB0_2
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movl	$435, %esi                      ## imm = 0x1B3
LBB0_2:
	xorl	%eax, %eax
	callq	_dprintk
LBB0_3:
	movq	_EREMOTEIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movl	(%rbx), %eax
LBB0_10:
	addl	$-16384, %eax                   ## imm = 0xC000
	cmpl	$3, %eax
	ja	LBB0_11
## %bb.12:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_17
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_14:
	movl	$1, 4(%rbx)
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_17
LBB0_15:
	movl	$1, 4(%rbx)
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_17
LBB0_16:
	movl	$1, 4(%rbx)
	leaq	L_.str.6(%rip), %rdi
LBB0_17:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wrong Vendor ID (0x%x)\n"

	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
L_.str.1:                               ## @.str.1
	.asciz	"wrong Device ID (0x%x)\n"

L_.str.2:                               ## @.str.2
	.asciz	"this driver does not work with DiB7000PC\n"

L_.str.3:                               ## @.str.3
	.asciz	"found DiB7000MA/PA/MB/PB\n"

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

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

L_.str.6:                               ## @.str.6
	.asciz	"found DiB9000\n"

	.no_dead_strip	_dib7000m_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib7000m_identify
_dib7000m_identify:                     ; @dib7000m_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	_dib7000m_read_word
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #435
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x19
	mov	w1, #897
	bl	_dib7000m_read_word
	str	w0, [x19]
	and	w8, w0, #0xfffffffc
	cmp	w8, #4, lsl #12                 ; =16384
	b.ne	LBB0_6
; %bb.2:
	cmp	w0, #4, lsl #12                 ; =16384
	b.ne	LBB0_10
; %bb.3:
	mov	x0, x19
	mov	w1, #769
	bl	_dib7000m_read_word
	cmp	w0, #4, lsl #12                 ; =16384
	b.ne	LBB0_9
; %bb.4:
Lloh0:
	adrp	x0, l_.str.2@PAGE
Lloh1:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_5:
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
	mov	w8, #435
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	bl	_dprintk
Lloh6:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
	ldr	w0, [x19]
LBB0_10:
	sub	w8, w0, #4, lsl #12             ; =16384
	cmp	w8, #3
	b.hi	LBB0_17
; %bb.11:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_12
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_12:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_13:
	mov	w8, #1
	str	w8, [x19, #4]
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_14:
	mov	w8, #1
	str	w8, [x19, #4]
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_16
LBB0_15:
	mov	w8, #1
	str	w8, [x19, #4]
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_16:
	bl	_dprintk
LBB0_17:
	mov	w0, #0
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_14-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wrong Vendor ID (0x%x)\n"

	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
l_.str.1:                               ; @.str.1
	.asciz	"wrong Device ID (0x%x)\n"

l_.str.2:                               ; @.str.2
	.asciz	"this driver does not work with DiB7000PC\n"

l_.str.3:                               ; @.str.3
	.asciz	"found DiB7000MA/PA/MB/PB\n"

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

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

l_.str.6:                               ; @.str.6
	.asciz	"found DiB9000\n"

	.no_dead_strip	_dib7000m_identify
.subsections_via_symbols
