	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function virtnet_ack_link_announce
_virtnet_ack_link_announce:             ## @virtnet_ack_link_announce
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	_VIRTIO_NET_CTRL_ANNOUNCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VIRTIO_NET_CTRL_ANNOUNCE_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_virtnet_send_command
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rtnl_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTIO_NET_CTRL_ANNOUNCE,4,2   ## @VIRTIO_NET_CTRL_ANNOUNCE
	.comm	_VIRTIO_NET_CTRL_ANNOUNCE_ACK,4,2 ## @VIRTIO_NET_CTRL_ANNOUNCE_ACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to ack link announce.\n"

	.no_dead_strip	_virtnet_ack_link_announce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function virtnet_ack_link_announce
_virtnet_ack_link_announce:             ; @virtnet_ack_link_announce
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_rtnl_lock
Lloh0:
	adrp	x8, _VIRTIO_NET_CTRL_ANNOUNCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIRTIO_NET_CTRL_ANNOUNCE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _VIRTIO_NET_CTRL_ANNOUNCE_ACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VIRTIO_NET_CTRL_ANNOUNCE_ACK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, #0
	bl	_virtnet_send_command
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtnl_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTIO_NET_CTRL_ANNOUNCE,4,2   ; @VIRTIO_NET_CTRL_ANNOUNCE
	.comm	_VIRTIO_NET_CTRL_ANNOUNCE_ACK,4,2 ; @VIRTIO_NET_CTRL_ANNOUNCE_ACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to ack link announce.\n"

	.no_dead_strip	_virtnet_ack_link_announce
.subsections_via_symbols
