	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_ptcdev_to_resc
_qed_ptcdev_to_resc:                    ## @qed_ptcdev_to_resc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_MFW_PORT
	cmpl	$3, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.qed_ptcdev_to_resc(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_QED_RESC_LOCK_RESC_INVALID@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_RESC_LOCK_PTP_PORT0,4,2    ## @QED_RESC_LOCK_PTP_PORT0
	.comm	_QED_RESC_LOCK_PTP_PORT1,4,2    ## @QED_RESC_LOCK_PTP_PORT1
	.comm	_QED_RESC_LOCK_PTP_PORT2,4,2    ## @QED_RESC_LOCK_PTP_PORT2
	.comm	_QED_RESC_LOCK_PTP_PORT3,4,2    ## @QED_RESC_LOCK_PTP_PORT3
	.comm	_QED_RESC_LOCK_RESC_INVALID,4,2 ## @QED_RESC_LOCK_RESC_INVALID
	.no_dead_strip	_qed_ptcdev_to_resc
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.qed_ptcdev_to_resc
l_switch.table.qed_ptcdev_to_resc:
	.quad	_QED_RESC_LOCK_PTP_PORT0
	.quad	_QED_RESC_LOCK_PTP_PORT1
	.quad	_QED_RESC_LOCK_PTP_PORT2
	.quad	_QED_RESC_LOCK_PTP_PORT3

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_ptcdev_to_resc
_qed_ptcdev_to_resc:                    ; @qed_ptcdev_to_resc
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_MFW_PORT
	cmp	w0, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, l_switch.table.qed_ptcdev_to_resc@PAGE
Lloh1:
	add	x8, x8, l_switch.table.qed_ptcdev_to_resc@PAGEOFF
	ldr	x8, [x8, w0, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _QED_RESC_LOCK_RESC_INVALID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QED_RESC_LOCK_RESC_INVALID@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_RESC_LOCK_PTP_PORT0,4,2    ; @QED_RESC_LOCK_PTP_PORT0
	.comm	_QED_RESC_LOCK_PTP_PORT1,4,2    ; @QED_RESC_LOCK_PTP_PORT1
	.comm	_QED_RESC_LOCK_PTP_PORT2,4,2    ; @QED_RESC_LOCK_PTP_PORT2
	.comm	_QED_RESC_LOCK_PTP_PORT3,4,2    ; @QED_RESC_LOCK_PTP_PORT3
	.comm	_QED_RESC_LOCK_RESC_INVALID,4,2 ; @QED_RESC_LOCK_RESC_INVALID
	.no_dead_strip	_qed_ptcdev_to_resc
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.qed_ptcdev_to_resc
l_switch.table.qed_ptcdev_to_resc:
	.quad	_QED_RESC_LOCK_PTP_PORT0
	.quad	_QED_RESC_LOCK_PTP_PORT1
	.quad	_QED_RESC_LOCK_PTP_PORT2
	.quad	_QED_RESC_LOCK_PTP_PORT3

.subsections_via_symbols
