	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pc_select_port                 ## -- Begin function pc_select_port
	.p2align	4, 0x90
_pc_select_port:                        ## @pc_select_port
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %rbx
	movq	%rdx, %r14
	callq	_pc_find
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	4(%rax), %ecx
	movl	%ecx, (%r15)
	movl	(%r14), %edx
	xorl	%eax, %eax
	testl	%edx, %edx
	js	LBB0_6
## %bb.3:
	cmpl	(%rbx), %edx
	jl	LBB0_5
## %bb.4:
	cmpl	%ecx, %edx
	jle	LBB0_6
	jmp	LBB0_5
LBB0_1:
	movl	$-1, (%rbx)
	movl	$-1, (%r15)
	movl	$-1, %eax
LBB0_5:
	movl	$-1, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pc_select_port                 ; -- Begin function pc_select_port
	.p2align	2
_pc_select_port:                        ; @pc_select_port
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x4
	mov	x20, x3
	mov	x19, x2
	bl	_pc_find
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x0]
	str	w8, [x20]
	ldr	w9, [x0, #4]
	str	w9, [x21]
	ldr	w10, [x19]
	tbnz	w10, #31, LBB0_5
; %bb.2:
	mov	w8, #0
	mov	w0, #0
	ldr	w11, [x20]
	cmp	w10, w11
	ccmp	w10, w9, #0, ge
	b.gt	LBB0_4
	b	LBB0_6
LBB0_3:
	mov	w8, #-1
	str	w8, [x20]
	str	w8, [x21]
LBB0_4:
	mov	w9, #-1
	str	w9, [x19]
	mov	x0, x8
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
