	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_send_features
_sii8620_send_features:                 ## @sii8620_send_features
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_REG_MDT_XMIT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BIT_MDT_XMIT_CTRL_EN@GOTPCREL(%rip), %rax
	movq	_BIT_MDT_XMIT_CTRL_FIXED_BURST_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_sii8620_write
	movq	_MHL_BURST_ID_HID_PAYLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	callq	_sii8620_mhl_burst_emsc_support_set
	movq	_REG_MDT_XMIT_WRITE_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_sii8620_write_buf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MDT_XMIT_CTRL,4,2          ## @REG_MDT_XMIT_CTRL
	.comm	_BIT_MDT_XMIT_CTRL_EN,4,2       ## @BIT_MDT_XMIT_CTRL_EN
	.comm	_BIT_MDT_XMIT_CTRL_FIXED_BURST_LEN,4,2 ## @BIT_MDT_XMIT_CTRL_FIXED_BURST_LEN
	.comm	_MHL_BURST_ID_HID_PAYLOAD,4,2   ## @MHL_BURST_ID_HID_PAYLOAD
	.comm	_REG_MDT_XMIT_WRITE_PORT,4,2    ## @REG_MDT_XMIT_WRITE_PORT
	.no_dead_strip	_sii8620_send_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii8620_send_features
_sii8620_send_features:                 ; @sii8620_send_features
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _REG_MDT_XMIT_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_MDT_XMIT_CTRL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _BIT_MDT_XMIT_CTRL_EN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BIT_MDT_XMIT_CTRL_EN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _BIT_MDT_XMIT_CTRL_FIXED_BURST_LEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BIT_MDT_XMIT_CTRL_FIXED_BURST_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_sii8620_write
Lloh12:
	adrp	x8, _MHL_BURST_ID_HID_PAYLOAD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MHL_BURST_ID_HID_PAYLOAD@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_sii8620_mhl_burst_emsc_support_set
Lloh15:
	adrp	x8, _REG_MDT_XMIT_WRITE_PORT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_MDT_XMIT_WRITE_PORT@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_sii8620_write_buf
	ldur	x8, [x29, #-24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MDT_XMIT_CTRL,4,2          ; @REG_MDT_XMIT_CTRL
	.comm	_BIT_MDT_XMIT_CTRL_EN,4,2       ; @BIT_MDT_XMIT_CTRL_EN
	.comm	_BIT_MDT_XMIT_CTRL_FIXED_BURST_LEN,4,2 ; @BIT_MDT_XMIT_CTRL_FIXED_BURST_LEN
	.comm	_MHL_BURST_ID_HID_PAYLOAD,4,2   ; @MHL_BURST_ID_HID_PAYLOAD
	.comm	_REG_MDT_XMIT_WRITE_PORT,4,2    ; @REG_MDT_XMIT_WRITE_PORT
	.no_dead_strip	_sii8620_send_features
.subsections_via_symbols
