	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocores_init
_ocores_init:                           ## @ocores_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_OCI2C_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_oc_getreg
	movl	%eax, %r14d
	movl	(%r12), %esi
	movq	_OCI2C_CTRL_EN@GOTPCREL(%rip), %rax
	movq	_OCI2C_CTRL_IEN@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	orl	(%rax), %edx
	notl	%edx
	andl	%r14d, %edx
	movq	%r15, %rdi
	callq	_oc_setreg
	movslq	(%r15), %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	sarq	$37, %rcx
	shrq	$63, %rax
	leal	(%rcx,%rax), %ebx
	decl	%ebx
	movq	_OCI2C_PRELOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	movq	%r15, %rdi
	callq	_oc_setreg
	movq	_OCI2C_PREHIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	sarl	$8, %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_oc_setreg
	movq	_OCI2C_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OCI2C_CMD_IACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_oc_setreg
	movl	(%r12), %esi
	orl	(%r13), %r14d
	movq	_OCI2C_CTRL_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	%r15, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_oc_setreg                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OCI2C_CONTROL,4,2              ## @OCI2C_CONTROL
	.comm	_OCI2C_CTRL_EN,4,2              ## @OCI2C_CTRL_EN
	.comm	_OCI2C_CTRL_IEN,4,2             ## @OCI2C_CTRL_IEN
	.comm	_OCI2C_PRELOW,4,2               ## @OCI2C_PRELOW
	.comm	_OCI2C_PREHIGH,4,2              ## @OCI2C_PREHIGH
	.comm	_OCI2C_CMD,4,2                  ## @OCI2C_CMD
	.comm	_OCI2C_CMD_IACK,4,2             ## @OCI2C_CMD_IACK
	.no_dead_strip	_ocores_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocores_init
_ocores_init:                           ; @ocores_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _OCI2C_CONTROL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OCI2C_CONTROL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_oc_getreg
	mov	x20, x0
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _OCI2C_CTRL_EN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _OCI2C_CTRL_EN@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh4:
	adrp	x23, _OCI2C_CTRL_IEN@GOTPAGE
Lloh5:
	ldr	x23, [x23, _OCI2C_CTRL_IEN@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
	bic	w2, w0, w8
	mov	x0, x19
	bl	_oc_setreg
	ldrsw	x8, [x19]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	sub	w24, w8, #1
Lloh6:
	adrp	x8, _OCI2C_PRELOW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OCI2C_PRELOW@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	and	w2, w24, #0xff
	mov	x0, x19
	bl	_oc_setreg
Lloh9:
	adrp	x8, _OCI2C_PREHIGH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OCI2C_PREHIGH@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	asr	w2, w24, #8
	mov	x0, x19
	bl	_oc_setreg
Lloh12:
	adrp	x8, _OCI2C_CMD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OCI2C_CMD@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _OCI2C_CMD_IACK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OCI2C_CMD_IACK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_oc_setreg
	ldr	w1, [x21]
	ldr	w8, [x23]
	orr	w8, w8, w20
	ldr	w9, [x22]
	orr	w2, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_oc_setreg
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OCI2C_CONTROL,4,2              ; @OCI2C_CONTROL
	.comm	_OCI2C_CTRL_EN,4,2              ; @OCI2C_CTRL_EN
	.comm	_OCI2C_CTRL_IEN,4,2             ; @OCI2C_CTRL_IEN
	.comm	_OCI2C_PRELOW,4,2               ; @OCI2C_PRELOW
	.comm	_OCI2C_PREHIGH,4,2              ; @OCI2C_PREHIGH
	.comm	_OCI2C_CMD,4,2                  ; @OCI2C_CMD
	.comm	_OCI2C_CMD_IACK,4,2             ; @OCI2C_CMD_IACK
	.no_dead_strip	_ocores_init
.subsections_via_symbols
