	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlan_free_res
_vlan_free_res:                         ## @vlan_free_res
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	16(%rbp), %r13d
	callq	_mlx4_priv
	movq	(%rax), %r14
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_mlx4_slave_convert_port
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	cmpl	$128, %ebx
	jne	LBB0_5
## %bb.2:
	movl	%eax, %r13d
	movslq	%r12d, %rax
	xorl	%ebx, %ebx
	cmpl	$0, (%r14,%rax,4)
	jne	LBB0_6
## %bb.3:
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_vlan_del_from_slave
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	callq	___mlx4_unregister_vlan
	jmp	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vlan_free_res
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vlan_free_res
_vlan_free_res:                         ; @vlan_free_res
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x6
	mov	x19, x4
	mov	x23, x2
	mov	x21, x1
	mov	x20, x0
	bl	_mlx4_priv
	ldr	x24, [x0]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_mlx4_slave_convert_port
	tbnz	w0, #31, LBB0_6
; %bb.1:
	cmp	w23, #128
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x24, w21, sxtw #2]
	cbz	w8, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	bl	_vlan_del_from_slave
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	___mlx4_unregister_vlan
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vlan_free_res
.subsections_via_symbols
