	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swlib_scan                     ## -- Begin function swlib_scan
	.p2align	4, 0x90
_swlib_scan:                            ## @swlib_scan
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 16(%rdi)
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	jne	LBB0_4
## %bb.2:
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	leaq	16(%rbx), %rax
	leaq	8(%rbx), %r13
	movq	_SWLIB_ATTR_GROUP_GLOBAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movq	%rbx, -48(%rbp)
	movl	24(%rbx), %ecx
	movl	%ecx, -52(%rbp)
	movq	$0, -64(%rbp)
	movq	%rax, -72(%rbp)
	movq	_SWITCH_CMD_LIST_GLOBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_add_attr@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_add_id@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-72(%rbp), %r14
	movq	%r14, %rcx
	callq	_swlib_call
	movq	_SWLIB_ATTR_GROUP_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	%r13, -72(%rbp)
	movq	_SWITCH_CMD_LIST_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%r14, %rcx
	callq	_swlib_call
	movq	_SWLIB_ATTR_GROUP_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	%rbx, -72(%rbp)
	movq	_SWITCH_CMD_LIST_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%r14, %rcx
	callq	_swlib_call
LBB0_4:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWLIB_ATTR_GROUP_GLOBAL,4,2    ## @SWLIB_ATTR_GROUP_GLOBAL
	.comm	_SWITCH_CMD_LIST_GLOBAL,4,2     ## @SWITCH_CMD_LIST_GLOBAL
	.comm	_add_attr,4,2                   ## @add_attr
	.comm	_add_id,4,2                     ## @add_id
	.comm	_SWLIB_ATTR_GROUP_PORT,4,2      ## @SWLIB_ATTR_GROUP_PORT
	.comm	_SWITCH_CMD_LIST_PORT,4,2       ## @SWITCH_CMD_LIST_PORT
	.comm	_SWLIB_ATTR_GROUP_VLAN,4,2      ## @SWLIB_ATTR_GROUP_VLAN
	.comm	_SWITCH_CMD_LIST_VLAN,4,2       ## @SWITCH_CMD_LIST_VLAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swlib_scan                     ; -- Begin function swlib_scan
	.p2align	2
_swlib_scan:                            ; @swlib_scan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x8, x0
	ldr	x9, [x8, #16]!
	cbnz	x9, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x20, x0
	ldr	x9, [x20, #8]!
	cbnz	x9, LBB0_4
; %bb.2:
	ldr	x9, [x19]
	cbnz	x9, LBB0_4
; %bb.3:
Lloh0:
	adrp	x9, _SWLIB_ATTR_GROUP_GLOBAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SWLIB_ATTR_GROUP_GLOBAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	x19, [sp, #24]
	ldr	w10, [x19, #24]
	stp	w9, w10, [sp, #16]
	stp	x8, xzr, [sp]
Lloh3:
	adrp	x8, _SWITCH_CMD_LIST_GLOBAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SWITCH_CMD_LIST_GLOBAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x21, _add_attr@GOTPAGE
Lloh7:
	ldr	x21, [x21, _add_attr@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh8:
	adrp	x22, _add_id@GOTPAGE
Lloh9:
	ldr	x22, [x22, _add_id@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x3, sp
	bl	_swlib_call
Lloh10:
	adrp	x8, _SWLIB_ATTR_GROUP_PORT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SWLIB_ATTR_GROUP_PORT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	stp	x20, xzr, [sp]
Lloh13:
	adrp	x8, _SWITCH_CMD_LIST_PORT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SWITCH_CMD_LIST_PORT@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x3, sp
	bl	_swlib_call
Lloh16:
	adrp	x8, _SWLIB_ATTR_GROUP_VLAN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SWLIB_ATTR_GROUP_VLAN@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	stp	x19, xzr, [sp]
Lloh19:
	adrp	x8, _SWITCH_CMD_LIST_VLAN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SWITCH_CMD_LIST_VLAN@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x3, sp
	bl	_swlib_call
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SWLIB_ATTR_GROUP_GLOBAL,4,2    ; @SWLIB_ATTR_GROUP_GLOBAL
	.comm	_SWITCH_CMD_LIST_GLOBAL,4,2     ; @SWITCH_CMD_LIST_GLOBAL
	.comm	_add_attr,4,2                   ; @add_attr
	.comm	_add_id,4,2                     ; @add_id
	.comm	_SWLIB_ATTR_GROUP_PORT,4,2      ; @SWLIB_ATTR_GROUP_PORT
	.comm	_SWITCH_CMD_LIST_PORT,4,2       ; @SWITCH_CMD_LIST_PORT
	.comm	_SWLIB_ATTR_GROUP_VLAN,4,2      ; @SWLIB_ATTR_GROUP_VLAN
	.comm	_SWITCH_CMD_LIST_VLAN,4,2       ; @SWITCH_CMD_LIST_VLAN
.subsections_via_symbols
