	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_set_iface
_fst_set_iface:                         ## @fst_set_iface
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$16, (%rdx)
	jne	LBB0_1
## %bb.3:
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	8(%rdx), %esi
	leaq	-48(%rbp), %rdi
	movl	$16, %edx
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	cmpq	$0, -40(%rbp)
	je	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_20:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	4(%rbx), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_6
## %bb.8:
	movslq	(%r15), %r12
	movq	_V35@GOTPCREL(%rip), %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movq	_X21D@GOTPCREL(%rip), %rbx
	jmp	LBB0_14
LBB0_9:
	movq	_X21@GOTPCREL(%rip), %rbx
	jmp	LBB0_14
LBB0_13:
	movq	_V24@GOTPCREL(%rip), %rbx
	jmp	LBB0_14
LBB0_11:
	movq	_T1@GOTPCREL(%rip), %rbx
	jmp	LBB0_14
LBB0_12:
	movq	_E1@GOTPCREL(%rip), %rbx
LBB0_14:
	movq	_portConfig@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r12,%r12,2), %rcx
	movl	8(%rax,%rcx,4), %esi
	movq	(%rbx), %rdx
	movq	%r14, %rdi
	callq	_FST_WRW
	movq	(%rbx), %rax
	movq	%rax, 8(%r15)
LBB0_15:
	movl	-48(%rbp), %eax
	cmpl	$135, %eax
	je	LBB0_18
## %bb.16:
	cmpl	$136, %eax
	jne	LBB0_6
## %bb.17:
	movq	_portConfig@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r12,%r12,2), %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	$4, %rax
	movq	_EXTCLK@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_18:
	movq	_portConfig@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r12,%r12,2), %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	$4, %rax
	movq	_INTCLK@GOTPCREL(%rip), %rcx
LBB0_19:
	movl	(%rax), %esi
	movl	(%rcx), %edx
	movq	%r14, %rdi
	callq	_FST_WRB
	movq	_portConfig@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r12,%r12,2), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	callq	_FST_WRL
	xorl	%eax, %eax
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_portConfig,8,3                 ## @portConfig
	.comm	_V35,8,3                        ## @V35
	.comm	_V24,8,3                        ## @V24
	.comm	_X21,8,3                        ## @X21
	.comm	_X21D,8,3                       ## @X21D
	.comm	_T1,8,3                         ## @T1
	.comm	_E1,8,3                         ## @E1
	.comm	_EXTCLK,4,2                     ## @EXTCLK
	.comm	_INTCLK,4,2                     ## @INTCLK
	.no_dead_strip	_fst_set_iface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_set_iface
_fst_set_iface:                         ; @fst_set_iface
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x2]
	cmp	w8, #16
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w1, [x2, #8]
	mov	x0, sp
	mov	w2, #16
	bl	_copy_from_user
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_8
LBB0_5:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	w8, [x21, #4]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_5
; %bb.9:
Lloh6:
	adrp	x23, _V35@GOTPAGE
Lloh7:
	ldr	x23, [x23, _V35@GOTPAGEOFF]
	ldrsw	x21, [x20]
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
Lloh10:
	adrp	x22, _portConfig@GOTPAGE
Lloh11:
	ldr	x22, [x22, _portConfig@GOTPAGEOFF]
	br	x10
LBB0_10:
Lloh12:
	adrp	x23, _X21D@GOTPAGE
Lloh13:
	ldr	x23, [x23, _X21D@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh14:
	adrp	x23, _X21@GOTPAGE
Lloh15:
	ldr	x23, [x23, _X21@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
Lloh16:
	adrp	x23, _V24@GOTPAGE
Lloh17:
	ldr	x23, [x23, _V24@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
Lloh18:
	adrp	x23, _T1@GOTPAGE
Lloh19:
	ldr	x23, [x23, _T1@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh20:
	adrp	x23, _E1@GOTPAGE
Lloh21:
	ldr	x23, [x23, _E1@GOTPAGEOFF]
LBB0_15:
	ldr	x8, [x22]
	mov	w9, #12
	madd	x8, x21, x9, x8
	ldr	w1, [x8, #8]
	ldr	x2, [x23]
	mov	x0, x19
	bl	_FST_WRW
	ldr	x8, [x23]
	str	x8, [x20, #8]
LBB0_16:
	ldr	w8, [sp]
	cmp	w8, #135
	b.eq	LBB0_19
; %bb.17:
	cmp	w8, #136
	b.ne	LBB0_5
; %bb.18:
	ldr	x8, [x22]
	mov	w9, #12
	madd	x8, x21, x9, x8
	add	x8, x8, #4
Lloh22:
	adrp	x9, _EXTCLK@GOTPAGE
Lloh23:
	ldr	x9, [x9, _EXTCLK@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
	ldr	x8, [x22]
	mov	w9, #12
	madd	x8, x21, x9, x8
	add	x8, x8, #4
Lloh24:
	adrp	x9, _INTCLK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _INTCLK@GOTPAGEOFF]
LBB0_20:
	ldr	w1, [x8]
	ldr	w2, [x9]
	mov	x0, x19
	bl	_FST_WRB
	ldr	x8, [x22]
	mov	w9, #12
	mul	x9, x21, x9
	ldr	w1, [x8, x9]
	ldr	w2, [sp, #4]
	mov	x0, x19
	bl	_FST_WRL
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_12-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_16-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_portConfig,8,3                 ; @portConfig
	.comm	_V35,8,3                        ; @V35
	.comm	_V24,8,3                        ; @V24
	.comm	_X21,8,3                        ; @X21
	.comm	_X21D,8,3                       ; @X21D
	.comm	_T1,8,3                         ; @T1
	.comm	_E1,8,3                         ; @E1
	.comm	_EXTCLK,4,2                     ; @EXTCLK
	.comm	_INTCLK,4,2                     ; @INTCLK
	.no_dead_strip	_fst_set_iface
.subsections_via_symbols
