	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_attr_info
_handle_attr_info:                      ## @handle_attr_info
	.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, %r13
	movq	%rdi, %r14
	callq	_to_vnet_port
	movq	%rax, %r15
	movq	_HS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %edx
	movq	8(%r13), %rcx
	movq	64(%r13), %r8
	movl	56(%r13), %r9d
	movl	52(%r13), %r10d
	movl	48(%r13), %r11d
	movl	24(%r13), %ebx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	pushq	32(%r13)
	pushq	%rbx
	pushq	(%r15)
	pushq	16(%r13)
	pushq	%r11
	pushq	%r10
	callq	_viodbg
	addq	$48, %rsp
	movq	%r14, %rdi
	callq	_vio_send_sid
	movl	%eax, 44(%r13)
	movl	(%r13), %ebx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$2, %edx
	callq	_vio_version_before
	movq	_VIO_DRING_MODE@GOTPCREL(%rip), %rdx
	movq	_VIO_NEW_DRING_MODE@GOTPCREL(%rip), %rsi
	movl	%ebx, %ecx
	cmpl	(%rdx), %ebx
	jne	LBB0_2
## %bb.1:
	movl	(%rsi), %ecx
LBB0_2:
	testq	%rax, %rax
	cmovnel	%ecx, %ebx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$3, %edx
	callq	_vio_version_before
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_ETH_FRAME_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_9
LBB0_4:
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$3, %edx
	callq	_vio_version_after
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	jne	LBB0_7
## %bb.6:
	movq	_VNET_MAXPACKET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_7:
	movq	16(%r13), %rdi
	callq	_min
	movq	%rax, %r12
	movq	%rax, 16(%r13)
	jmp	LBB0_9
LBB0_8:
	movq	_ETH_FRAME_LEN@GOTPCREL(%rip), %rax
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	addq	(%rax), %r12
LBB0_9:
	movq	%r12, (%r15)
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$7, %edx
	callq	_vio_version_after_eq
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	_VNET_LSO_IPV4_CAPAB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	24(%r13), %eax
	setne	%cl
	andl	%ecx, 8(%r15)
	je	LBB0_11
## %bb.13:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_15
## %bb.14:
	movq	_VNET_MAXTSO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 16(%r15)
LBB0_15:
	movq	32(%r13), %rsi
	callq	_min
	movq	%rax, 16(%r15)
	movq	_VNET_MINTSO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_17
## %bb.16:
	movl	$0, 8(%r15)
	movq	$0, 16(%r15)
	movq	_VNET_LSO_IPV4_CAPAB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 24(%r13)
	xorl	%eax, %eax
LBB0_17:
	movq	%rax, 32(%r13)
	jmp	LBB0_18
LBB0_10:
	movl	$0, 8(%r15)
LBB0_11:
	movq	_VNET_LSO_IPV4_CAPAB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 24(%r13)
	movq	$0, 32(%r13)
	movq	$0, 16(%r15)
LBB0_18:
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$6, %edx
	callq	_vio_version_after_eq
	testq	%rax, %rax
	movq	_VIO_NEW_DRING_MODE@GOTPCREL(%rip), %rcx
	je	LBB0_20
## %bb.19:
	movl	(%rcx), %eax
	movl	%eax, (%r13)
	movq	_VIO_TX_DRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r13)
LBB0_20:
	orl	(%rcx), %ebx
	je	LBB0_23
## %bb.21:
	movq	8(%r13), %rcx
	movq	_VNET_ADDR_ETHERMAC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_23
## %bb.22:
	cmpq	%r12, 16(%r13)
	jne	LBB0_23
## %bb.24:
	movq	_HS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	64(%r13), %r8
	movl	56(%r13), %r9d
	movl	52(%r13), %r10d
	movl	48(%r13), %r11d
	movl	(%r13), %edx
	movl	24(%r13), %ebx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	pushq	32(%r13)
	pushq	%rbx
	pushq	(%r15)
	pushq	%r12
	pushq	%r11
	pushq	%r10
	callq	_viodbg
	addq	$48, %rsp
	movq	_VIO_SUBTYPE_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$72, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vio_ldc_send                   ## TAILCALL
LBB0_23:
	movq	_HS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_viodbg
	movq	_VIO_SUBTYPE_NACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$72, %edx
	callq	_vio_ldc_send
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HS,4,2                         ## @HS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GOT NET ATTR xmode[0x%x] atype[0x%x] addr[%llx] ackfreq[%u] plnk_updt[0x%02x] opts[0x%02x] mtu[%llu]  (rmtu[%llu]) cflags[0x%04x] lso_max[%u]\n"

	.comm	_VIO_DRING_MODE,4,2             ## @VIO_DRING_MODE
	.comm	_VIO_NEW_DRING_MODE,4,2         ## @VIO_NEW_DRING_MODE
	.comm	_ETH_FRAME_LEN,8,3              ## @ETH_FRAME_LEN
	.comm	_VNET_MAXPACKET,8,3             ## @VNET_MAXPACKET
	.comm	_VLAN_HLEN,8,3                  ## @VLAN_HLEN
	.comm	_VNET_LSO_IPV4_CAPAB,4,2        ## @VNET_LSO_IPV4_CAPAB
	.comm	_VNET_MAXTSO,8,3                ## @VNET_MAXTSO
	.comm	_VNET_MINTSO,8,3                ## @VNET_MINTSO
	.comm	_VIO_TX_DRING,4,2               ## @VIO_TX_DRING
	.comm	_VNET_ADDR_ETHERMAC,8,3         ## @VNET_ADDR_ETHERMAC
L_.str.1:                               ## @.str.1
	.asciz	"SEND NET ATTR NACK\n"

	.comm	_VIO_SUBTYPE_NACK,4,2           ## @VIO_SUBTYPE_NACK
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
L_.str.2:                               ## @.str.2
	.asciz	"SEND NET ATTR ACK xmode[0x%x] atype[0x%x] addr[%llx] ackfreq[%u] plnk_updt[0x%02x] opts[0x%02x] mtu[%llu] (rmtu[%llu]) cflags[0x%04x] lso_max[%u]\n"

	.comm	_VIO_SUBTYPE_ACK,4,2            ## @VIO_SUBTYPE_ACK
	.no_dead_strip	_handle_attr_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_attr_info
_handle_attr_info:                      ; @handle_attr_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_to_vnet_port
	mov	x21, x0
Lloh0:
	adrp	x23, _HS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HS@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	x8, [x19, #64]
	ldp	x9, x10, [x19, #8]
	ldr	x11, [x21]
	ldr	x12, [x19, #32]
	ldr	w13, [x19]
	ldp	w15, w14, [x19, #52]
	ldr	w16, [x19, #48]
	ldr	w17, [x19, #24]
	stp	x17, x12, [sp, #64]
	stp	x10, x11, [sp, #48]
	stp	x15, x16, [sp, #32]
	stp	x8, x14, [sp, #16]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	stp	x13, x9, [sp]
	bl	_viodbg
	mov	x0, x20
	bl	_vio_send_sid
	str	w0, [x19, #44]
	ldr	w22, [x19]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #2
	bl	_vio_version_before
Lloh4:
	adrp	x8, _VIO_DRING_MODE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VIO_DRING_MODE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w22, w8
	ccmp	x0, #0, #4, eq
Lloh7:
	adrp	x24, _VIO_NEW_DRING_MODE@GOTPAGE
Lloh8:
	ldr	x24, [x24, _VIO_NEW_DRING_MODE@GOTPAGEOFF]
	ldr	w8, [x24]
	csel	w25, w8, w22, ne
	mov	x0, x20
	mov	w1, #1
	mov	w2, #3
	bl	_vio_version_before
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _ETH_FRAME_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_FRAME_LEN@GOTPAGEOFF]
Lloh11:
	ldr	x22, [x8]
	b	LBB0_5
LBB0_2:
	mov	x0, x20
	mov	w1, #1
	mov	w2, #3
	bl	_vio_version_after
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _VNET_MAXPACKET@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VNET_MAXPACKET@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x1, x9, x8, eq
	ldr	x0, [x19, #16]
	bl	_min
	mov	x22, x0
	str	x0, [x19, #16]
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _ETH_FRAME_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETH_FRAME_LEN@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _VLAN_HLEN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VLAN_HLEN@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x22, x9, x8
LBB0_5:
	str	x22, [x21]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #7
	bl	_vio_version_after_eq
Lloh21:
	adrp	x26, _VNET_LSO_IPV4_CAPAB@GOTPAGE
Lloh22:
	ldr	x26, [x26, _VNET_LSO_IPV4_CAPAB@GOTPAGEOFF]
	cbz	x0, LBB0_12
; %bb.6:
	ldr	w8, [x19, #24]
	ldr	w9, [x26]
	tst	w9, w8
	cset	w8, ne
	ldr	w9, [x21, #8]
	ands	w8, w9, w8
	str	w8, [x21, #8]
	b.eq	LBB0_13
; %bb.7:
	ldr	x0, [x21, #16]
	cbnz	x0, LBB0_9
; %bb.8:
Lloh23:
	adrp	x8, _VNET_MAXTSO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VNET_MAXTSO@GOTPAGEOFF]
Lloh25:
	ldr	x0, [x8]
	str	x0, [x21, #16]
LBB0_9:
	ldr	x1, [x19, #32]
	bl	_min
	str	x0, [x21, #16]
Lloh26:
	adrp	x8, _VNET_MINTSO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _VNET_MINTSO@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_11
; %bb.10:
	mov	x0, #0
	str	wzr, [x21, #8]
	str	xzr, [x21, #16]
	ldr	w8, [x26]
	ldr	w9, [x19, #24]
	bic	w8, w9, w8
	str	w8, [x19, #24]
LBB0_11:
	str	x0, [x19, #32]
	b	LBB0_14
LBB0_12:
	str	wzr, [x21, #8]
LBB0_13:
	ldr	w8, [x26]
	ldr	w9, [x19, #24]
	bic	w8, w9, w8
	str	w8, [x19, #24]
	str	xzr, [x19, #32]
	str	xzr, [x21, #16]
LBB0_14:
	mov	x0, x20
	mov	w1, #1
	mov	w2, #6
	bl	_vio_version_after_eq
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w8, [x24]
	str	w8, [x19]
Lloh29:
	adrp	x8, _VIO_TX_DRING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _VIO_TX_DRING@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [x19, #48]
LBB0_16:
	ldr	w8, [x24]
	orr	w8, w8, w25
	cbz	w8, LBB0_20
; %bb.17:
	ldr	x8, [x19, #8]
Lloh32:
	adrp	x9, _VNET_ADDR_ETHERMAC@GOTPAGE
Lloh33:
	ldr	x9, [x9, _VNET_ADDR_ETHERMAC@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.18:
	ldr	x9, [x19, #16]
	cmp	x9, x22
	b.ne	LBB0_20
; %bb.19:
	ldr	w0, [x23]
	ldr	x9, [x19, #64]
	ldr	x10, [x21]
	ldr	x11, [x19, #32]
	ldr	w12, [x19]
	ldp	w14, w13, [x19, #52]
	ldr	w15, [x19, #48]
	ldr	w16, [x19, #24]
	stp	x16, x11, [sp, #64]
	stp	x22, x10, [sp, #48]
	stp	x14, x15, [sp, #32]
	stp	x9, x13, [sp, #16]
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	stp	x12, x8, [sp]
	bl	_viodbg
Lloh37:
	adrp	x8, _VIO_SUBTYPE_ACK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _VIO_SUBTYPE_ACK@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #72
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_vio_ldc_send
LBB0_20:
	ldr	w0, [x23]
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_viodbg
Lloh42:
	adrp	x8, _VIO_SUBTYPE_NACK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _VIO_SUBTYPE_NACK@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #72
	bl	_vio_ldc_send
Lloh45:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_HS,4,2                         ; @HS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GOT NET ATTR xmode[0x%x] atype[0x%x] addr[%llx] ackfreq[%u] plnk_updt[0x%02x] opts[0x%02x] mtu[%llu]  (rmtu[%llu]) cflags[0x%04x] lso_max[%u]\n"

	.comm	_VIO_DRING_MODE,4,2             ; @VIO_DRING_MODE
	.comm	_VIO_NEW_DRING_MODE,4,2         ; @VIO_NEW_DRING_MODE
	.comm	_ETH_FRAME_LEN,8,3              ; @ETH_FRAME_LEN
	.comm	_VNET_MAXPACKET,8,3             ; @VNET_MAXPACKET
	.comm	_VLAN_HLEN,8,3                  ; @VLAN_HLEN
	.comm	_VNET_LSO_IPV4_CAPAB,4,2        ; @VNET_LSO_IPV4_CAPAB
	.comm	_VNET_MAXTSO,8,3                ; @VNET_MAXTSO
	.comm	_VNET_MINTSO,8,3                ; @VNET_MINTSO
	.comm	_VIO_TX_DRING,4,2               ; @VIO_TX_DRING
	.comm	_VNET_ADDR_ETHERMAC,8,3         ; @VNET_ADDR_ETHERMAC
l_.str.1:                               ; @.str.1
	.asciz	"SEND NET ATTR NACK\n"

	.comm	_VIO_SUBTYPE_NACK,4,2           ; @VIO_SUBTYPE_NACK
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
l_.str.2:                               ; @.str.2
	.asciz	"SEND NET ATTR ACK xmode[0x%x] atype[0x%x] addr[%llx] ackfreq[%u] plnk_updt[0x%02x] opts[0x%02x] mtu[%llu] (rmtu[%llu]) cflags[0x%04x] lso_max[%u]\n"

	.comm	_VIO_SUBTYPE_ACK,4,2            ; @VIO_SUBTYPE_ACK
	.no_dead_strip	_handle_attr_info
.subsections_via_symbols
