	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_attr_link
_send_attr_link:                        ## @send_attr_link
	.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	%rdi, %rbx
	movq	(%rsi), %r15
	movq	_SWITCH_ATTR_OP_VALUE_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nla_nest_start
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	cmpq	$0, 16(%r15)
	je	LBB0_4
## %bb.3:
	movq	_SWITCH_LINK_FLAG_DUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_NLA_PUT_FLAG
LBB0_4:
	cmpq	$0, 8(%r15)
	je	LBB0_6
## %bb.5:
	movq	_SWITCH_LINK_FLAG_ANEG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_NLA_PUT_FLAG
LBB0_6:
	movq	_SWITCH_LINK_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_NLA_PUT_U32
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_nla_nest_end
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWITCH_ATTR_OP_VALUE_LINK,4,2  ## @SWITCH_ATTR_OP_VALUE_LINK
	.comm	_SWITCH_LINK_FLAG_DUPLEX,4,2    ## @SWITCH_LINK_FLAG_DUPLEX
	.comm	_SWITCH_LINK_FLAG_ANEG,4,2      ## @SWITCH_LINK_FLAG_ANEG
	.comm	_SWITCH_LINK_SPEED,4,2          ## @SWITCH_LINK_SPEED
	.no_dead_strip	_send_attr_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_attr_link
_send_attr_link:                        ; @send_attr_link
	.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	x19, x0
	ldr	x21, [x1]
Lloh0:
	adrp	x8, _SWITCH_ATTR_OP_VALUE_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SWITCH_ATTR_OP_VALUE_LINK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nla_nest_start
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _SWITCH_LINK_FLAG_DUPLEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SWITCH_LINK_FLAG_DUPLEX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NLA_PUT_FLAG
LBB0_3:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _SWITCH_LINK_FLAG_ANEG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SWITCH_LINK_FLAG_ANEG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NLA_PUT_FLAG
LBB0_5:
Lloh9:
	adrp	x8, _SWITCH_LINK_SPEED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SWITCH_LINK_SPEED@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_NLA_PUT_U32
	mov	x0, x19
	mov	x1, x20
	bl	_nla_nest_end
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SWITCH_ATTR_OP_VALUE_LINK,4,2  ; @SWITCH_ATTR_OP_VALUE_LINK
	.comm	_SWITCH_LINK_FLAG_DUPLEX,4,2    ; @SWITCH_LINK_FLAG_DUPLEX
	.comm	_SWITCH_LINK_FLAG_ANEG,4,2      ; @SWITCH_LINK_FLAG_ANEG
	.comm	_SWITCH_LINK_SPEED,4,2          ; @SWITCH_LINK_SPEED
	.no_dead_strip	_send_attr_link
.subsections_via_symbols
