	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5k5baf_fw_get_seq
_s5k5baf_fw_get_seq:                    ## @s5k5baf_fw_get_seq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movslq	(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_7
## %bb.2:
	movq	%rcx, %r8
	shlq	$4, %r8
	addq	16(%rax), %r8
	movl	%ecx, %edx
	movq	8(%rax), %rdi
	shlq	$4, %rdx
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rdi,%rcx)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_3
## %bb.5:
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_8:
	movslq	8(%rdi,%rcx), %rax
	leaq	(%r8,%rax,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_s5k5baf_fw_get_seq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5k5baf_fw_get_seq
_s5k5baf_fw_get_seq:                    ; @s5k5baf_fw_get_seq
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	cbz	x9, LBB0_5
; %bb.1:
	ldrsw	x10, [x9]
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.2:
	and	x8, x10, #0xffffffff
	ldp	x12, x11, [x9, #8]
	add	x9, x11, x10, lsl #4
	add	x10, x12, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x10, #-8]
	cmp	x11, x1
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #16
	subs	x8, x8, #1
	b.ne	LBB0_3
LBB0_5:
	mov	x0, #0
	ret
LBB0_6:
	ldrsw	x8, [x10]
	add	x0, x9, x8, lsl #3
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_s5k5baf_fw_get_seq
.subsections_via_symbols
