	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_reassign_macvlan_pool
_ixgbe_reassign_macvlan_pool:           ## @ixgbe_reassign_macvlan_pool
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_netif_is_macvlan
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_macvlan_accel_priv
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r14
	movl	(%r15), %esi
	movl	8(%r15), %edi
	callq	_find_first_zero_bit
	cmpl	(%r15), %eax
	jge	LBB0_4
## %bb.3:
	movl	%eax, %r12d
	movl	8(%r15), %esi
	movl	%eax, %edi
	callq	_set_bit
	movl	%r12d, (%r14)
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_netdev_err
	movq	%rbx, %rdi
	callq	_macvlan_release_l2fw_offload
	movl	4(%r15), %edi
	movq	%rbx, %rsi
	callq	_netdev_unbind_sb_channel
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_netdev_set_sb_channel
	movq	%r14, %rdi
	callq	_kfree
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"L2FW offload disabled due to lack of queue resources\n"

	.no_dead_strip	_ixgbe_reassign_macvlan_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_reassign_macvlan_pool
_ixgbe_reassign_macvlan_pool:           ; @ixgbe_reassign_macvlan_pool
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_netif_is_macvlan
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_macvlan_accel_priv
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	ldr	w0, [x21, #8]
	ldr	w1, [x21]
	bl	_find_first_zero_bit
	ldr	w8, [x21]
	cmp	w0, w8
	b.ge	LBB0_4
; %bb.3:
	mov	x22, x0
	ldr	w1, [x21, #8]
	bl	_set_bit
	str	w22, [x19]
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
	mov	x0, x20
	bl	_macvlan_release_l2fw_offload
	ldr	w0, [x21, #4]
	mov	x1, x20
	bl	_netdev_unbind_sb_channel
	mov	x0, x20
	mov	w1, #0
	bl	_netdev_set_sb_channel
	mov	x0, x19
	bl	_kfree
LBB0_5:
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"L2FW offload disabled due to lack of queue resources\n"

	.no_dead_strip	_ixgbe_reassign_macvlan_pool
.subsections_via_symbols
