	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swconfig_list_attrs
_swconfig_list_attrs:                   ## @swconfig_list_attrs
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	(%rsi), %edi
	callq	_nlmsg_data
	movq	%rax, %r14
	movq	_EINVAL@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	subl	(%r12), %ebx
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_swconfig_get_dev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movl	(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.5:
	movq	24(%r13), %r15
	addq	$32, %r15
	movq	_default_global@GOTPCREL(%rip), %rax
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_1:
	subl	(%r12), %r15d
	movl	%r15d, %ebx
	jmp	LBB0_26
LBB0_8:
	movq	24(%r13), %r15
	addq	$16, %r15
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	addq	$8, %r13
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_default_vlan@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	24(%r13), %r15
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	addq	$16, %r13
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_default_port@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %r13
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -80(%rbp)
	movq	_swconfig_dump_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.10:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$8, %r14
	cmpq	%rcx, %r12
	jge	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rsi
	cmpq	$0, (%rsi,%r14)
	jne	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-104(%rbp), %rax
	movl	%r12d, (%rax)
	addq	%r14, %rsi
	leaq	-104(%rbp), %rdi
	callq	_swconfig_send_multipart
	testl	%eax, %eax
	js	LBB0_13
## %bb.23:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r15), %eax
	jmp	LBB0_24
LBB0_16:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_21
## %bb.17:
	movl	%eax, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%r14
	addq	$4, %r13
	cmpq	%r14, %r15
	je	LBB0_21
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_SWITCH_ATTR_DEFAULTS_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	movq	-104(%rbp), %rcx
	movl	%eax, (%rcx)
	leaq	-104(%rbp), %rdi
	movq	%r13, %rsi
	callq	_swconfig_send_multipart
	testl	%eax, %eax
	jns	LBB0_20
LBB0_13:
	movl	%eax, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-96(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_nlmsg_free
	jmp	LBB0_15
LBB0_21:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_swconfig_put_dev
	movq	-96(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.25:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_genlmsg_reply
	movl	%eax, %ebx
	jmp	LBB0_26
LBB0_7:
	movl	$1, %edi
	callq	_WARN_ON
LBB0_15:
	movq	%r13, %rdi
	callq	_swconfig_put_dev
	jmp	LBB0_26
LBB0_22:
	xorl	%ebx, %ebx
LBB0_26:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_default_global,8,3             ## @default_global
	.comm	_default_vlan,8,3               ## @default_vlan
	.comm	_default_port,8,3               ## @default_port
	.comm	_swconfig_dump_attr,4,2         ## @swconfig_dump_attr
	.comm	_SWITCH_ATTR_DEFAULTS_OFFSET,4,2 ## @SWITCH_ATTR_DEFAULTS_OFFSET
	.no_dead_strip	_swconfig_list_attrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swconfig_list_attrs
_swconfig_list_attrs:                   ; @swconfig_list_attrs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x1
	ldr	w0, [x1]
	bl	_nlmsg_data
	mov	x21, x0
Lloh0:
	adrp	x23, _EINVAL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
	ldr	w22, [x23]
	mov	x0, x20
	bl	_swconfig_get_dev
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x21]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #130
	b.ne	LBB0_23
; %bb.4:
	ldr	x8, [x19, #24]
	add	x25, x8, #32
Lloh2:
	adrp	x8, _default_global@GOTPAGE
Lloh3:
	ldr	x8, [x8, _default_global@GOTPAGEOFF]
	mov	x21, x19
	b	LBB0_8
LBB0_5:
	ldr	w8, [x23]
	neg	w24, w8
	b	LBB0_26
LBB0_6:
	ldr	x8, [x19, #24]
	add	x25, x8, #16
	add	x21, x19, #8
Lloh4:
	adrp	x8, _default_vlan@GOTPAGE
Lloh5:
	ldr	x8, [x8, _default_vlan@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	ldr	x25, [x19, #24]
	add	x21, x19, #16
Lloh6:
	adrp	x8, _default_port@GOTPAGE
Lloh7:
	ldr	x8, [x8, _default_port@GOTPAGEOFF]
LBB0_8:
	ldr	x22, [x8]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x23, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	x20, [sp, #24]
Lloh8:
	adrp	x8, _swconfig_dump_attr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _swconfig_dump_attr@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.9:
	mov	x26, #0
	mov	x27, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x27, x27, #1
	add	x26, x26, #8
	cmp	x27, w8, sxtw
	b.ge	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25, #8]
	ldr	x10, [x9, x26]
	cbnz	x10, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [sp]
	str	w27, [x8]
	add	x1, x9, x26
	mov	x0, sp
	bl	_swconfig_send_multipart
	tbnz	w0, #31, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x25]
	b	LBB0_10
LBB0_14:
	cmp	w23, #1
	b.lt	LBB0_21
; %bb.15:
	mov	x25, #0
	mov	w23, w23
Lloh11:
	adrp	x26, _SWITCH_ATTR_DEFAULTS_OFFSET@GOTPAGE
Lloh12:
	ldr	x26, [x26, _SWITCH_ATTR_DEFAULTS_OFFSET@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x25, x25, #1
	add	x22, x22, #4
	cmp	x23, x25
	b.eq	LBB0_21
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x26]
	add	w8, w25, w8
	ldr	x9, [sp]
	str	w8, [x9]
	mov	x0, sp
	mov	x1, x22
	bl	_swconfig_send_multipart
	tbz	w0, #31, LBB0_16
LBB0_19:
	mov	x24, x0
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_24
; %bb.20:
	bl	_nlmsg_free
	b	LBB0_24
LBB0_21:
	mov	x0, x19
	bl	_swconfig_put_dev
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_25
; %bb.22:
	mov	x1, x20
	bl	_genlmsg_reply
	mov	x24, x0
	b	LBB0_26
LBB0_23:
	neg	w24, w22
	mov	w0, #1
	bl	_WARN_ON
LBB0_24:
	mov	x0, x19
	bl	_swconfig_put_dev
	b	LBB0_26
LBB0_25:
	mov	w24, #0
LBB0_26:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_default_global,8,3             ; @default_global
	.comm	_default_vlan,8,3               ; @default_vlan
	.comm	_default_port,8,3               ; @default_port
	.comm	_swconfig_dump_attr,4,2         ; @swconfig_dump_attr
	.comm	_SWITCH_ATTR_DEFAULTS_OFFSET,4,2 ; @SWITCH_ATTR_DEFAULTS_OFFSET
	.no_dead_strip	_swconfig_list_attrs
.subsections_via_symbols
