	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib7000p_identify
_dib7000p_identify:                     ## @dib7000p_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%edx, %esi
	xorl	%eax, %eax
	callq	_dprintk
	movq	%rbx, %rdi
	movl	$768, %esi                      ## imm = 0x300
	callq	_dib7000p_read_word
	cmpl	$435, %eax                      ## imm = 0x1B3
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$769, %esi                      ## imm = 0x301
	callq	_dib7000p_read_word
	cmpl	$16384, %eax                    ## imm = 0x4000
	je	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
LBB0_4:
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_dprintk
	movq	_EREMOTEIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"checking demod on I2C address: %d (%x)\n"

L_.str.1:                               ## @.str.1
	.asciz	"wrong Vendor ID (read=0x%x)\n"

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

	.no_dead_strip	_dib7000p_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib7000p_identify
_dib7000p_identify:                     ; @dib7000p_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
	ldr	w1, [x0]
	str	x1, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_dprintk
	mov	x0, x19
	mov	w1, #768
	bl	_dib7000p_read_word
	cmp	w0, #435
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #769
	bl	_dib7000p_read_word
	cmp	w0, #4, lsl #12                 ; =16384
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_5:
	bl	_dprintk
Lloh6:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"checking demod on I2C address: %d (%x)\n"

l_.str.1:                               ; @.str.1
	.asciz	"wrong Vendor ID (read=0x%x)\n"

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

	.no_dead_strip	_dib7000p_identify
.subsections_via_symbols
