	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swlib_set_attr                 ## -- Begin function swlib_set_attr
	.p2align	4, 0x90
_swlib_set_attr:                        ## @swlib_set_attr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	jae	LBB0_1
## %bb.2:
	movq	%rdx, %rcx
	cltq
	leaq	l_switch.table.swlib_set_attr(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movl	(%rax), %edi
	movq	%rsi, (%rcx)
	movq	_send_attr_val@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	popq	%rbp
	jmp	_swlib_call                     ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWITCH_CMD_SET_GLOBAL,4,2      ## @SWITCH_CMD_SET_GLOBAL
	.comm	_SWITCH_CMD_SET_PORT,4,2        ## @SWITCH_CMD_SET_PORT
	.comm	_SWITCH_CMD_SET_VLAN,4,2        ## @SWITCH_CMD_SET_VLAN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_send_attr_val,4,2              ## @send_attr_val
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.swlib_set_attr
l_switch.table.swlib_set_attr:
	.quad	_SWITCH_CMD_SET_VLAN
	.quad	_SWITCH_CMD_SET_PORT
	.quad	_SWITCH_CMD_SET_GLOBAL

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swlib_set_attr                 ; -- Begin function swlib_set_attr
	.p2align	2
_swlib_set_attr:                        ; @swlib_set_attr
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
	mov	x3, x2
Lloh0:
	adrp	x9, l_switch.table.swlib_set_attr@PAGE
Lloh1:
	add	x9, x9, l_switch.table.swlib_set_attr@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w0, [x8]
Lloh2:
	adrp	x8, _send_attr_val@GOTPAGE
Lloh3:
	ldr	x8, [x8, _send_attr_val@GOTPAGEOFF]
	str	x1, [x2]
Lloh4:
	ldr	w2, [x8]
	mov	x1, #0
	b	_swlib_call
LBB0_2:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SWITCH_CMD_SET_GLOBAL,4,2      ; @SWITCH_CMD_SET_GLOBAL
	.comm	_SWITCH_CMD_SET_PORT,4,2        ; @SWITCH_CMD_SET_PORT
	.comm	_SWITCH_CMD_SET_VLAN,4,2        ; @SWITCH_CMD_SET_VLAN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_send_attr_val,4,2              ; @send_attr_val
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.swlib_set_attr
l_switch.table.swlib_set_attr:
	.quad	_SWITCH_CMD_SET_VLAN
	.quad	_SWITCH_CMD_SET_PORT
	.quad	_SWITCH_CMD_SET_GLOBAL

.subsections_via_symbols
