	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_update_queues               ## -- Begin function be_update_queues
	.p2align	4, 0x90
_be_update_queues:                      ## @be_update_queues
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_netif_tx_lock_bh
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%r14, %rdi
	callq	_netif_tx_unlock_bh
	movq	%r14, %rdi
	callq	_be_close
LBB0_2:
	movq	%rbx, %rdi
	callq	_be_cancel_worker
	cmpl	$0, 8(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_be_msix_disable
LBB0_4:
	movq	%rbx, %rdi
	callq	_be_clear_queues
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_be_cmd_if_destroy
	testl	%eax, %eax
	jne	LBB0_11
## %bb.5:
	movq	%rbx, %rdi
	callq	_msix_enabled
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_be_if_create
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:
	movq	%rbx, %rdi
	callq	_be_setup_queues
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	callq	_be_schedule_worker
	movq	_BE_IF_FLAGS_ALL_PROMISCUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_be_open                        ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	callq	_be_msix_enable
	testl	%eax, %eax
	je	LBB0_7
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_BE_IF_FLAGS_ALL_PROMISCUOUS,4,2 ## @BE_IF_FLAGS_ALL_PROMISCUOUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_update_queues               ; -- Begin function be_update_queues
	.p2align	2
_be_update_queues:                      ; @be_update_queues
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x19, [x0, #16]
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_netif_tx_lock_bh
	mov	x0, x19
	bl	_netif_carrier_off
	mov	x0, x19
	bl	_netif_tx_unlock_bh
	mov	x0, x19
	bl	_be_close
LBB0_2:
	mov	x0, x20
	bl	_be_cancel_worker
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_be_msix_disable
LBB0_4:
	mov	x0, x20
	bl	_be_clear_queues
	ldr	w1, [x20, #4]
	mov	x0, x20
	mov	w2, #0
	bl	_be_cmd_if_destroy
	cbnz	w0, LBB0_11
; %bb.5:
	mov	x0, x20
	bl	_msix_enabled
	cbz	w0, LBB0_10
LBB0_6:
	mov	x0, x20
	bl	_be_if_create
	cbnz	w0, LBB0_11
; %bb.7:
	mov	x0, x20
	bl	_be_setup_queues
	cbnz	w0, LBB0_11
; %bb.8:
	mov	x0, x20
	bl	_be_schedule_worker
Lloh0:
	adrp	x8, _BE_IF_FLAGS_ALL_PROMISCUOUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BE_IF_FLAGS_ALL_PROMISCUOUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_11
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_be_open
LBB0_10:
	mov	x0, x20
	bl	_be_msix_enable
	cbz	w0, LBB0_6
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BE_IF_FLAGS_ALL_PROMISCUOUS,4,2 ; @BE_IF_FLAGS_ALL_PROMISCUOUS
.subsections_via_symbols
