	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si476x_core_fwver_to_revision
_si476x_core_fwver_to_revision:         ## @si476x_core_fwver_to_revision
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$131, %esi
	je	LBB0_8
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_13
## %bb.3:
	cmpl	$10, %edx
	je	LBB0_14
## %bb.4:
	cmpl	$8, %edx
	jne	LBB0_10
	jmp	LBB0_15
LBB0_5:
	cmpl	$7, %edx
	je	LBB0_14
## %bb.6:
	cmpl	$5, %edx
	je	LBB0_15
## %bb.7:
	cmpl	$3, %edx
	jne	LBB0_11
	jmp	LBB0_12
LBB0_8:
	cmpl	$9, %edx
	je	LBB0_14
## %bb.9:
	cmpl	$7, %edx
	je	LBB0_15
LBB0_10:
	cmpl	$5, %edx
	je	LBB0_12
LBB0_11:
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_12:
	movq	_SI476X_REVISION_A10@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	xorl	%eax, %eax
	callq	_BUG
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_14:
	movq	_SI476X_REVISION_A30@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_SI476X_REVISION_A20@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SI476X_REVISION_A10,4,2        ## @SI476X_REVISION_A10
	.comm	_SI476X_REVISION_A20,4,2        ## @SI476X_REVISION_A20
	.comm	_SI476X_REVISION_A30,4,2        ## @SI476X_REVISION_A30
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported version of the firmware: %d.%d.%d, reverting to A10 compatible functions\n"

	.no_dead_strip	_si476x_core_fwver_to_revision
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si476x_core_fwver_to_revision
_si476x_core_fwver_to_revision:         ; @si476x_core_fwver_to_revision
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #131
	b.eq	LBB0_8
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_13
; %bb.3:
	cmp	w2, #10
	b.eq	LBB0_14
; %bb.4:
	cmp	w2, #8
	b.ne	LBB0_10
	b	LBB0_15
LBB0_5:
	cmp	w2, #7
	b.eq	LBB0_14
; %bb.6:
	cmp	w2, #5
	b.eq	LBB0_15
; %bb.7:
	cmp	w2, #3
	b.ne	LBB0_11
	b	LBB0_12
LBB0_8:
	cmp	w2, #9
	b.eq	LBB0_14
; %bb.9:
	cmp	w2, #7
	b.eq	LBB0_15
LBB0_10:
	cmp	w2, #5
	b.eq	LBB0_12
LBB0_11:
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_12:
Lloh2:
	adrp	x8, _SI476X_REVISION_A10@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SI476X_REVISION_A10@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
	bl	_BUG
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh4:
	adrp	x8, _SI476X_REVISION_A30@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SI476X_REVISION_A30@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh6:
	adrp	x8, _SI476X_REVISION_A20@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SI476X_REVISION_A20@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SI476X_REVISION_A10,4,2        ; @SI476X_REVISION_A10
	.comm	_SI476X_REVISION_A20,4,2        ; @SI476X_REVISION_A20
	.comm	_SI476X_REVISION_A30,4,2        ; @SI476X_REVISION_A30
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported version of the firmware: %d.%d.%d, reverting to A10 compatible functions\n"

	.no_dead_strip	_si476x_core_fwver_to_revision
.subsections_via_symbols
