	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_emsc_enable
_sii8620_emsc_enable:                   ## @sii8620_emsc_enable
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_REG_GENCTL@GOTPCREL(%rip), %r14
	movq	_BIT_GENCTL_EMSC_EN@GOTPCREL(%rip), %rax
	movq	_BIT_GENCTL_CLR_EMSC_RFIFO@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	orl	(%rax), %edx
	movl	(%r14), %esi
	movq	_BIT_GENCTL_CLR_EMSC_XFIFO@GOTPCREL(%rip), %r12
	orl	(%r12), %edx
	movl	$-1, %ecx
	callq	_sii8620_setbits
	movl	(%r14), %esi
	movl	(%r12), %edx
	orl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_sii8620_setbits
	movq	_REG_COMMECNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BIT_COMMECNT_I2C_TO_EMSC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$-1, %ecx
	callq	_sii8620_setbits
	movq	_REG_EMSCINTR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_sii8620_readb
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_sii8620_write
	movq	_REG_EMSCINTRMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BIT_EMSCINTR_SPI_DVLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sii8620_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_GENCTL,4,2                 ## @REG_GENCTL
	.comm	_BIT_GENCTL_EMSC_EN,4,2         ## @BIT_GENCTL_EMSC_EN
	.comm	_BIT_GENCTL_CLR_EMSC_RFIFO,4,2  ## @BIT_GENCTL_CLR_EMSC_RFIFO
	.comm	_BIT_GENCTL_CLR_EMSC_XFIFO,4,2  ## @BIT_GENCTL_CLR_EMSC_XFIFO
	.comm	_REG_COMMECNT,4,2               ## @REG_COMMECNT
	.comm	_BIT_COMMECNT_I2C_TO_EMSC_EN,4,2 ## @BIT_COMMECNT_I2C_TO_EMSC_EN
	.comm	_REG_EMSCINTR,4,2               ## @REG_EMSCINTR
	.comm	_REG_EMSCINTRMASK,4,2           ## @REG_EMSCINTRMASK
	.comm	_BIT_EMSCINTR_SPI_DVLD,4,2      ## @BIT_EMSCINTR_SPI_DVLD
	.no_dead_strip	_sii8620_emsc_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii8620_emsc_enable
_sii8620_emsc_enable:                   ; @sii8620_emsc_enable
	.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	x20, _REG_GENCTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _REG_GENCTL@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _BIT_GENCTL_EMSC_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BIT_GENCTL_EMSC_EN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x21, _BIT_GENCTL_CLR_EMSC_RFIFO@GOTPAGE
Lloh6:
	ldr	x21, [x21, _BIT_GENCTL_CLR_EMSC_RFIFO@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w9, w8
Lloh7:
	adrp	x22, _BIT_GENCTL_CLR_EMSC_XFIFO@GOTPAGE
Lloh8:
	ldr	x22, [x22, _BIT_GENCTL_CLR_EMSC_XFIFO@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w2, w8, w9
	mov	w3, #-1
	bl	_sii8620_setbits
	ldr	w1, [x20]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w2, w9, w8
	mov	x0, x19
	mov	w3, #0
	bl	_sii8620_setbits
Lloh9:
	adrp	x8, _REG_COMMECNT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_COMMECNT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _BIT_COMMECNT_I2C_TO_EMSC_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BIT_COMMECNT_I2C_TO_EMSC_EN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #-1
	bl	_sii8620_setbits
Lloh15:
	adrp	x20, _REG_EMSCINTR@GOTPAGE
Lloh16:
	ldr	x20, [x20, _REG_EMSCINTR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_sii8620_readb
	mov	x2, x0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_sii8620_write
Lloh17:
	adrp	x8, _REG_EMSCINTRMASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REG_EMSCINTRMASK@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _BIT_EMSCINTR_SPI_DVLD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BIT_EMSCINTR_SPI_DVLD@GOTPAGEOFF]
Lloh22:
	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	_sii8620_write
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_GENCTL,4,2                 ; @REG_GENCTL
	.comm	_BIT_GENCTL_EMSC_EN,4,2         ; @BIT_GENCTL_EMSC_EN
	.comm	_BIT_GENCTL_CLR_EMSC_RFIFO,4,2  ; @BIT_GENCTL_CLR_EMSC_RFIFO
	.comm	_BIT_GENCTL_CLR_EMSC_XFIFO,4,2  ; @BIT_GENCTL_CLR_EMSC_XFIFO
	.comm	_REG_COMMECNT,4,2               ; @REG_COMMECNT
	.comm	_BIT_COMMECNT_I2C_TO_EMSC_EN,4,2 ; @BIT_COMMECNT_I2C_TO_EMSC_EN
	.comm	_REG_EMSCINTR,4,2               ; @REG_EMSCINTR
	.comm	_REG_EMSCINTRMASK,4,2           ; @REG_EMSCINTRMASK
	.comm	_BIT_EMSCINTR_SPI_DVLD,4,2      ; @BIT_EMSCINTR_SPI_DVLD
	.no_dead_strip	_sii8620_emsc_enable
.subsections_via_symbols
