	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swlib_get_attr                 ## -- Begin function swlib_get_attr
	.p2align	4, 0x90
_swlib_get_attr:                        ## @swlib_get_attr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	jae	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %r12
	cltq
	leaq	l_switch.table.swlib_get_attr(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %r15d
	leaq	24(%rdx), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	$0, 16(%r14)
	movq	%r12, 8(%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, (%r14)
	movq	_store_val@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_send_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r14, %rcx
	callq	_swlib_call
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %eax
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWITCH_CMD_GET_GLOBAL,4,2      ## @SWITCH_CMD_GET_GLOBAL
	.comm	_SWITCH_CMD_GET_PORT,4,2        ## @SWITCH_CMD_GET_PORT
	.comm	_SWITCH_CMD_GET_VLAN,4,2        ## @SWITCH_CMD_GET_VLAN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_store_val,4,2                  ## @store_val
	.comm	_send_attr,4,2                  ## @send_attr
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.swlib_get_attr
l_switch.table.swlib_get_attr:
	.quad	_SWITCH_CMD_GET_VLAN
	.quad	_SWITCH_CMD_GET_PORT
	.quad	_SWITCH_CMD_GET_GLOBAL

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swlib_get_attr                 ; -- Begin function swlib_get_attr
	.p2align	2
_swlib_get_attr:                        ; @swlib_get_attr
	.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
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x9, l_switch.table.swlib_get_attr@PAGE
Lloh1:
	add	x9, x9, l_switch.table.swlib_get_attr@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w21, [x8]
	add	x0, x2, #24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	stp	x20, xzr, [x19, #8]
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19]
Lloh5:
	adrp	x8, _store_val@GOTPAGE
Lloh6:
	ldr	x8, [x8, _store_val@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _send_attr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _send_attr@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x19
	bl	_swlib_call
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SWITCH_CMD_GET_GLOBAL,4,2      ; @SWITCH_CMD_GET_GLOBAL
	.comm	_SWITCH_CMD_GET_PORT,4,2        ; @SWITCH_CMD_GET_PORT
	.comm	_SWITCH_CMD_GET_VLAN,4,2        ; @SWITCH_CMD_GET_VLAN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_store_val,4,2                  ; @store_val
	.comm	_send_attr,4,2                  ; @send_attr
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.swlib_get_attr
l_switch.table.swlib_get_attr:
	.quad	_SWITCH_CMD_GET_VLAN
	.quad	_SWITCH_CMD_GET_PORT
	.quad	_SWITCH_CMD_GET_GLOBAL

.subsections_via_symbols
