	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_get_iface
_fst_get_iface:                         ## @fst_get_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.fst_get_iface(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IF_IFACE_X21@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	cmpl	$15, %eax
	ja	LBB0_7
## %bb.5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_7:
	movslq	4(%rsi), %r12
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_portConfig@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	4(%rax,%r12,8), %esi
	movq	%r14, %rdi
	callq	_FST_RDL
	movl	%eax, -44(%rbp)
	movq	(%r13), %rax
	movl	(%rax,%r12,8), %esi
	movq	%r14, %rdi
	callq	_FST_RDB
	movq	_INTCLK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.9:
	movq	_CLOCK_INT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_CLOCK_EXT@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	movl	4(%rbx), %edi
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_copy_to_user
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_12:
	movl	$16, (%rbx)
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IF_IFACE_E1,4,2                ## @IF_IFACE_E1
	.comm	_IF_IFACE_T1,4,2                ## @IF_IFACE_T1
	.comm	_IF_IFACE_V35,4,2               ## @IF_IFACE_V35
	.comm	_IF_IFACE_V24,4,2               ## @IF_IFACE_V24
	.comm	_IF_IFACE_X21D,4,2              ## @IF_IFACE_X21D
	.comm	_IF_IFACE_X21,4,2               ## @IF_IFACE_X21
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_portConfig,8,3                 ## @portConfig
	.comm	_INTCLK,8,3                     ## @INTCLK
	.comm	_CLOCK_INT,4,2                  ## @CLOCK_INT
	.comm	_CLOCK_EXT,4,2                  ## @CLOCK_EXT
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_fst_get_iface
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.fst_get_iface
l_switch.table.fst_get_iface:
	.quad	_IF_IFACE_X21D
	.quad	_IF_IFACE_X21
	.quad	_IF_IFACE_V35
	.quad	_IF_IFACE_V24
	.quad	_IF_IFACE_T1
	.quad	_IF_IFACE_E1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_get_iface
_fst_get_iface:                         ; @fst_get_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
	mov	x19, x2
	mov	x20, x0
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.fst_get_iface@PAGE
Lloh1:
	add	x9, x9, l_switch.table.fst_get_iface@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _IF_IFACE_X21@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IF_IFACE_X21@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w8, [x19]
	cbz	w8, LBB0_6
; %bb.4:
	cmp	w8, #15
	b.hi	LBB0_7
; %bb.5:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	mov	w0, #0
	b	LBB0_11
LBB0_7:
	ldrsw	x22, [x1, #4]
	mov	w21, #16
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh6:
	adrp	x23, _portConfig@GOTPAGE
Lloh7:
	ldr	x23, [x23, _portConfig@GOTPAGEOFF]
	ldr	x8, [x23]
	lsl	x22, x22, #3
	add	x8, x8, x22
	ldr	w1, [x8, #4]
	mov	x0, x20
	bl	_FST_RDL
	str	w0, [sp, #12]
	ldr	x8, [x23]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_FST_RDB
Lloh8:
	adrp	x8, _INTCLK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INTCLK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _CLOCK_INT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CLOCK_INT@GOTPAGEOFF]
Lloh13:
	adrp	x10, _CLOCK_EXT@GOTPAGE
Lloh14:
	ldr	x10, [x10, _CLOCK_EXT@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	xzr, [sp]
	ldr	w0, [x19, #4]
	mov	x1, sp
	mov	w2, #16
	bl	_copy_to_user
	cbz	x0, LBB0_10
; %bb.8:
Lloh15:
	adrp	x8, _EFAULT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_10:
	str	w21, [x19]
LBB0_11:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IF_IFACE_E1,4,2                ; @IF_IFACE_E1
	.comm	_IF_IFACE_T1,4,2                ; @IF_IFACE_T1
	.comm	_IF_IFACE_V35,4,2               ; @IF_IFACE_V35
	.comm	_IF_IFACE_V24,4,2               ; @IF_IFACE_V24
	.comm	_IF_IFACE_X21D,4,2              ; @IF_IFACE_X21D
	.comm	_IF_IFACE_X21,4,2               ; @IF_IFACE_X21
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_portConfig,8,3                 ; @portConfig
	.comm	_INTCLK,8,3                     ; @INTCLK
	.comm	_CLOCK_INT,4,2                  ; @CLOCK_INT
	.comm	_CLOCK_EXT,4,2                  ; @CLOCK_EXT
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_fst_get_iface
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.fst_get_iface
l_switch.table.fst_get_iface:
	.quad	_IF_IFACE_X21D
	.quad	_IF_IFACE_X21
	.quad	_IF_IFACE_V35
	.quad	_IF_IFACE_V24
	.quad	_IF_IFACE_T1
	.quad	_IF_IFACE_E1

.subsections_via_symbols
