	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_port_order
_parse_port_order:                      ## @parse_port_order
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %rdi
	callq	_ARRAY_SIZE
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	leaq	L_.str(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r13d
	jae	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	%r13d, %ebx
	leaq	(,%rbx,4), %rdi
	addq	(%r12), %rdi
	movq	%r14, %rsi
	callq	_parse_unsigned
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%ecx, (%rax,%rdx,4)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_7 Depth=2
	incq	%rdx
	cmpq	%rdx, %rbx
	jne	LBB0_7
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdi
	movq	_OSM_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_OSM_LOG
	decl	%r13d
	jmp	LBB0_9
LBB0_10:
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_18
## %bb.11:
	movl	%r13d, %r14d
	xorl	%ebx, %ebx
	movl	%r13d, %r15d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%r15d, %eax
	incl	%r15d
	movl	%ebx, (%rdi,%rax,4)
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%ebx
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jae	LBB0_18
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movq	(%r12), %rdi
	testl	%r13d, %r13d
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%ebx, (%rdi,%rax,4)
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_15 Depth=2
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_15
	jmp	LBB0_16
LBB0_18:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_LOG_INFO,4,2               ## @OSM_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignored duplicate port %u in port_order parsing\n"

	.no_dead_strip	_parse_port_order
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_port_order
_parse_port_order:                      ; @parse_port_order
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	ldr	x0, [x0]
	bl	_ARRAY_SIZE
	mov	w22, #0
	cbz	w0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x23, _OSM_LOG_INFO@GOTPAGE
Lloh1:
	ldr	x23, [x23, _OSM_LOG_INFO@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #8]
	ldr	w1, [x23]
	mov	x2, x21
	bl	_OSM_LOG
	sub	w22, w22, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w22, w0
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [x19]
	add	x0, x8, w22, uxtw #2
	mov	x1, x20
	bl	_parse_unsigned
	cbz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w22, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w22
	ldr	x9, [x19]
	ldr	w3, [x9, x8, lsl #2]
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9]
	cmp	w10, w3
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_7
	b	LBB0_3
LBB0_9:
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_16
; %bb.10:
	mov	w20, #0
	mov	w21, w22
	mov	x23, x22
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	str	w20, [x0, w23, uxtw #2]
	add	w23, w23, #1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w20, w20, #1
	bl	_ARRAY_SIZE
	cmp	w20, w0
	b.hs	LBB0_16
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	x0, [x19]
	mov	x8, x21
	mov	x9, x0
	cbz	w22, LBB0_11
LBB0_14:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9]
	cmp	w10, w20
	b.eq	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_14
	b	LBB0_11
LBB0_16:
	mov	w0, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_LOG_INFO,4,2               ; @OSM_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignored duplicate port %u in port_order parsing\n"

	.no_dead_strip	_parse_port_order
.subsections_via_symbols
