	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlan_set
_vlan_set:                              ## @vlan_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rdx
	movq	_params@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_NOTAG@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	je	LBB0_3
## %bb.1:
	movq	8(%rax), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	%rax, (%rdx)
	movq	_SIOCSETVLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_4
LBB0_3:
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	popq	%rbp
	jmp	_err                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_params,16,3                    ## @params
	.comm	_NOTAG,8,3                      ## @NOTAG
	.comm	_SIOCSETVLAN,4,2                ## @SIOCSETVLAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SIOCSETVLAN"

	.no_dead_strip	_vlan_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vlan_set
_vlan_set:                              ; @vlan_set
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _params@GOTPAGE
Lloh1:
	ldr	x8, [x8, _params@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _NOTAG@GOTPAGE
Lloh3:
	ldr	x10, [x10, _NOTAG@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x8, #8]
	ldrb	w9, [x9]
	cbz	w9, LBB0_3
; %bb.2:
	mov	x2, x1
	str	x8, [x1]
Lloh5:
	adrp	x8, _SIOCSETVLAN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIOCSETVLAN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_err
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_params,16,3                    ; @params
	.comm	_NOTAG,8,3                      ; @NOTAG
	.comm	_SIOCSETVLAN,4,2                ; @SIOCSETVLAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SIOCSETVLAN"

	.no_dead_strip	_vlan_set
.subsections_via_symbols
