	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5k5baf_hw_set_cis
_s5k5baf_hw_set_cis:                    ## @s5k5baf_hw_set_cis
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_S5K5BAF_FW_ID_CIS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_s5k5baf_fw_get_seq
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_REG_CMDWR_PAGE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_PAGE_IF_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_s5k5baf_i2c_write
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_s5k5baf_write_nseq
	movl	(%r15), %esi
	movq	_PAGE_IF_SW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_s5k5baf_i2c_write              ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S5K5BAF_FW_ID_CIS,4,2          ## @S5K5BAF_FW_ID_CIS
	.comm	_REG_CMDWR_PAGE,4,2             ## @REG_CMDWR_PAGE
	.comm	_PAGE_IF_HW,4,2                 ## @PAGE_IF_HW
	.comm	_PAGE_IF_SW,4,2                 ## @PAGE_IF_SW
	.no_dead_strip	_s5k5baf_hw_set_cis
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5k5baf_hw_set_cis
_s5k5baf_hw_set_cis:                    ; @s5k5baf_hw_set_cis
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _S5K5BAF_FW_ID_CIS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S5K5BAF_FW_ID_CIS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_s5k5baf_fw_get_seq
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x21, _REG_CMDWR_PAGE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _REG_CMDWR_PAGE@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _PAGE_IF_HW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PAGE_IF_HW@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_s5k5baf_i2c_write
	mov	x0, x19
	mov	x1, x20
	bl	_s5k5baf_write_nseq
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _PAGE_IF_SW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PAGE_IF_SW@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_s5k5baf_i2c_write
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_S5K5BAF_FW_ID_CIS,4,2          ; @S5K5BAF_FW_ID_CIS
	.comm	_REG_CMDWR_PAGE,4,2             ; @REG_CMDWR_PAGE
	.comm	_PAGE_IF_HW,4,2                 ; @PAGE_IF_HW
	.comm	_PAGE_IF_SW,4,2                 ; @PAGE_IF_SW
	.no_dead_strip	_s5k5baf_hw_set_cis
.subsections_via_symbols
