	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_sart
_setup_sart:                            ## @setup_sart
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_SET_DPS
	movl	%eax, %r14d
	movq	$0, -24(%rbp)
	movl	4(%rbx), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	(%rbx), %edi
	movq	_ISAR_HIS_SARTCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r14d, %esi
	movq	_SMODE_HDLC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %r8
	movl	$1, %ecx
	jmp	LBB0_7
LBB0_3:
	movl	(%rbx), %edi
	movq	_ISAR_HIS_SARTCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r14d, %esi
	movq	_SMODE_BINARY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_6
LBB0_2:
	movl	(%rbx), %edi
	movq	_ISAR_HIS_SARTCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r14d, %esi
	movq	_SMODE_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	jmp	LBB0_7
LBB0_5:
	movq	_SMODE_V14@GOTPCREL(%rip), %rax
	movq	_SCTRL_HDMC_BOTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_S_P1_CHS_8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_S_P2_BFT_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	(%rbx), %edi
	movq	_ISAR_HIS_SARTCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r14d, %esi
LBB0_6:
	leaq	-24(%rbp), %r8
	movl	$2, %ecx
LBB0_7:
	callq	_send_mbox
LBB0_8:
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movl	(%rbx), %edi
	movq	_ISAR_HIS_BSTREQ@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	%r14d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_send_mbox
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_ISAR_HIS_SARTCFG,4,2           ## @ISAR_HIS_SARTCFG
	.comm	_SMODE_DISABLE,4,2              ## @SMODE_DISABLE
	.comm	_SMODE_BINARY,4,2               ## @SMODE_BINARY
	.comm	_SMODE_HDLC,4,2                 ## @SMODE_HDLC
	.comm	_SMODE_V14,4,2                  ## @SMODE_V14
	.comm	_SCTRL_HDMC_BOTH,4,2            ## @SCTRL_HDMC_BOTH
	.comm	_S_P1_CHS_8,4,2                 ## @S_P1_CHS_8
	.comm	_S_P2_BFT_DEF,4,2               ## @S_P2_BFT_DEF
	.comm	_ISAR_HIS_BSTREQ,4,2            ## @ISAR_HIS_BSTREQ
	.no_dead_strip	_setup_sart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_sart
_setup_sart:                            ; @setup_sart
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_SET_DPS
	mov	x20, x0
	str	xzr, [sp, #8]
	ldr	w8, [x19, #4]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_8
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _ISAR_HIS_SARTCFG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISAR_HIS_SARTCFG@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh4:
	ldr	w8, [x8]
	orr	w1, w8, w20
Lloh5:
	adrp	x8, _SMODE_HDLC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SMODE_HDLC@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	w3, #1
	b	LBB0_7
LBB0_3:
Lloh8:
	adrp	x8, _ISAR_HIS_SARTCFG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISAR_HIS_SARTCFG@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh10:
	ldr	w8, [x8]
	orr	w1, w8, w20
Lloh11:
	adrp	x8, _SMODE_BINARY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SMODE_BINARY@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	b	LBB0_6
LBB0_4:
Lloh14:
	adrp	x8, _ISAR_HIS_SARTCFG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISAR_HIS_SARTCFG@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh16:
	ldr	w8, [x8]
	orr	w1, w8, w20
Lloh17:
	adrp	x8, _SMODE_DISABLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SMODE_DISABLE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	w3, #0
	mov	x4, #0
	b	LBB0_7
LBB0_5:
Lloh20:
	adrp	x8, _SMODE_V14@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SMODE_V14@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _SCTRL_HDMC_BOTH@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SCTRL_HDMC_BOTH@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _S_P1_CHS_8@GOTPAGE
Lloh27:
	ldr	x10, [x10, _S_P1_CHS_8@GOTPAGEOFF]
	orr	w2, w9, w8
Lloh28:
	ldr	w8, [x10]
Lloh29:
	adrp	x9, _S_P2_BFT_DEF@GOTPAGE
Lloh30:
	ldr	x9, [x9, _S_P2_BFT_DEF@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
	ldr	w0, [x19]
Lloh32:
	adrp	x8, _ISAR_HIS_SARTCFG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ISAR_HIS_SARTCFG@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	orr	w1, w8, w20
LBB0_6:
	add	x4, sp, #8
	mov	w3, #2
LBB0_7:
	bl	_send_mbox
LBB0_8:
	mov	w0, #1000
	bl	_udelay
	ldr	w0, [x19]
Lloh35:
	adrp	x8, _ISAR_HIS_BSTREQ@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ISAR_HIS_BSTREQ@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	orr	w1, w8, w20
	mov	w2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_send_mbox
	mov	w0, #1000
	bl	_udelay
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_ISAR_HIS_SARTCFG,4,2           ; @ISAR_HIS_SARTCFG
	.comm	_SMODE_DISABLE,4,2              ; @SMODE_DISABLE
	.comm	_SMODE_BINARY,4,2               ; @SMODE_BINARY
	.comm	_SMODE_HDLC,4,2                 ; @SMODE_HDLC
	.comm	_SMODE_V14,4,2                  ; @SMODE_V14
	.comm	_SCTRL_HDMC_BOTH,4,2            ; @SCTRL_HDMC_BOTH
	.comm	_S_P1_CHS_8,4,2                 ; @S_P1_CHS_8
	.comm	_S_P2_BFT_DEF,4,2               ; @S_P2_BFT_DEF
	.comm	_ISAR_HIS_BSTREQ,4,2            ; @ISAR_HIS_BSTREQ
	.no_dead_strip	_setup_sart
.subsections_via_symbols
