	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_attr_ports
_send_attr_ports:                       ## @send_attr_ports
	.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
	xorl	%eax, %eax
	cmpl	$0, (%rsi)
	je	LBB0_11
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	_SWITCH_ATTR_OP_VALUE_PORTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nla_nest_start
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.3:
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_nla_nest_end
	incq	%r12
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %r14
	movq	_SWITCH_ATTR_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_nla_nest_start
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	movq	_SWITCH_PORT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14,%r12,8), %edx
	movq	%r13, %rdi
	callq	_NLA_PUT_U32
	movq	_SWLIB_PORT_FLAG_TAGGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14,%r12,8)
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_SWITCH_PORT_FLAG_TAGGED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_NLA_PUT_FLAG
	jmp	LBB0_4
LBB0_10:
	movl	$-1, %eax
	jmp	LBB0_11
LBB0_8:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_nla_nest_end
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWITCH_ATTR_OP_VALUE_PORTS,4,2 ## @SWITCH_ATTR_OP_VALUE_PORTS
	.comm	_SWITCH_ATTR_PORT,4,2           ## @SWITCH_ATTR_PORT
	.comm	_SWITCH_PORT_ID,4,2             ## @SWITCH_PORT_ID
	.comm	_SWLIB_PORT_FLAG_TAGGED,4,2     ## @SWLIB_PORT_FLAG_TAGGED
	.comm	_SWITCH_PORT_FLAG_TAGGED,4,2    ## @SWITCH_PORT_FLAG_TAGGED
	.no_dead_strip	_send_attr_ports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_attr_ports
_send_attr_ports:                       ; @send_attr_ports
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x1]
	cbz	w8, LBB0_10
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SWITCH_ATTR_OP_VALUE_PORTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SWITCH_ATTR_OP_VALUE_PORTS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nla_nest_start
	cbz	x0, LBB0_8
; %bb.2:
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x23, #0
	mov	x24, #0
Lloh3:
	adrp	x25, _SWITCH_ATTR_PORT@GOTPAGE
Lloh4:
	ldr	x25, [x25, _SWITCH_ATTR_PORT@GOTPAGEOFF]
Lloh5:
	adrp	x26, _SWITCH_PORT_ID@GOTPAGE
Lloh6:
	ldr	x26, [x26, _SWITCH_PORT_ID@GOTPAGEOFF]
Lloh7:
	adrp	x27, _SWLIB_PORT_FLAG_TAGGED@GOTPAGE
Lloh8:
	ldr	x27, [x27, _SWLIB_PORT_FLAG_TAGGED@GOTPAGEOFF]
Lloh9:
	adrp	x28, _SWITCH_PORT_FLAG_TAGGED@GOTPAGE
Lloh10:
	ldr	x28, [x28, _SWITCH_PORT_FLAG_TAGGED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_nla_nest_end
	add	x24, x24, #1
	ldrsw	x8, [x20]
	add	x23, x23, #8
	cmp	x24, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x20, #8]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_nla_nest_start
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x0
	ldr	w1, [x26]
	add	x21, x21, x23
	ldr	w2, [x21, #4]
	mov	x0, x19
	bl	_NLA_PUT_U32
	ldr	w8, [x21]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x28]
	mov	x0, x19
	bl	_NLA_PUT_FLAG
	b	LBB0_4
LBB0_8:
	mov	w0, #-1
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_nla_nest_end
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SWITCH_ATTR_OP_VALUE_PORTS,4,2 ; @SWITCH_ATTR_OP_VALUE_PORTS
	.comm	_SWITCH_ATTR_PORT,4,2           ; @SWITCH_ATTR_PORT
	.comm	_SWITCH_PORT_ID,4,2             ; @SWITCH_PORT_ID
	.comm	_SWLIB_PORT_FLAG_TAGGED,4,2     ; @SWLIB_PORT_FLAG_TAGGED
	.comm	_SWITCH_PORT_FLAG_TAGGED,4,2    ; @SWITCH_PORT_FLAG_TAGGED
	.no_dead_strip	_send_attr_ports
.subsections_via_symbols
