	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5k5baf_hw_init
_s5k5baf_hw_init:                       ## @s5k5baf_hw_init
	.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
	movq	_AHB_MSB_ADDR_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PAGE_IF_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_s5k5baf_i2c_write
	movq	_REG_CLEAR_HOST_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_s5k5baf_i2c_write
	movq	_REG_SW_LOAD_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_s5k5baf_i2c_write
	movq	_REG_CMDRD_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PAGE_IF_SW@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_s5k5baf_i2c_write
	movq	_REG_CMDWR_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_s5k5baf_i2c_write              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AHB_MSB_ADDR_PTR,4,2           ## @AHB_MSB_ADDR_PTR
	.comm	_PAGE_IF_HW,4,2                 ## @PAGE_IF_HW
	.comm	_REG_CLEAR_HOST_INT,4,2         ## @REG_CLEAR_HOST_INT
	.comm	_REG_SW_LOAD_COMPLETE,4,2       ## @REG_SW_LOAD_COMPLETE
	.comm	_REG_CMDRD_PAGE,4,2             ## @REG_CMDRD_PAGE
	.comm	_PAGE_IF_SW,4,2                 ## @PAGE_IF_SW
	.comm	_REG_CMDWR_PAGE,4,2             ## @REG_CMDWR_PAGE
	.no_dead_strip	_s5k5baf_hw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5k5baf_hw_init
_s5k5baf_hw_init:                       ; @s5k5baf_hw_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _AHB_MSB_ADDR_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AHB_MSB_ADDR_PTR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _PAGE_IF_HW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_IF_HW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_s5k5baf_i2c_write
Lloh6:
	adrp	x8, _REG_CLEAR_HOST_INT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_CLEAR_HOST_INT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_s5k5baf_i2c_write
Lloh9:
	adrp	x8, _REG_SW_LOAD_COMPLETE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_SW_LOAD_COMPLETE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_s5k5baf_i2c_write
Lloh12:
	adrp	x8, _REG_CMDRD_PAGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_CMDRD_PAGE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x20, _PAGE_IF_SW@GOTPAGE
Lloh16:
	ldr	x20, [x20, _PAGE_IF_SW@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_s5k5baf_i2c_write
Lloh17:
	adrp	x8, _REG_CMDWR_PAGE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REG_CMDWR_PAGE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_s5k5baf_i2c_write
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AHB_MSB_ADDR_PTR,4,2           ; @AHB_MSB_ADDR_PTR
	.comm	_PAGE_IF_HW,4,2                 ; @PAGE_IF_HW
	.comm	_REG_CLEAR_HOST_INT,4,2         ; @REG_CLEAR_HOST_INT
	.comm	_REG_SW_LOAD_COMPLETE,4,2       ; @REG_SW_LOAD_COMPLETE
	.comm	_REG_CMDRD_PAGE,4,2             ; @REG_CMDRD_PAGE
	.comm	_PAGE_IF_SW,4,2                 ; @PAGE_IF_SW
	.comm	_REG_CMDWR_PAGE,4,2             ; @REG_CMDWR_PAGE
	.no_dead_strip	_s5k5baf_hw_init
.subsections_via_symbols
