	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_set_priv_flags
_be_set_priv_flags:                     ## @be_set_priv_flags
	.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
	movl	%esi, %r14d
	callq	_netdev_priv
	movl	(%rax), %ecx
	movq	_BE_DISABLE_TPE_RECOVERY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, %edx
	sete	%sil
	testl	%r14d, %edx
	setne	%bl
	xorb	%sil, %bl
	jne	LBB0_2
## %bb.1:
	movl	%edx, %esi
	orl	%ecx, %esi
	movl	%edx, %edi
	notl	%edi
	andl	%ecx, %edi
	testl	%r14d, %edx
	cmovnel	%esi, %edi
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %rsi
	cmovneq	%rcx, %rsi
	movl	%edi, (%rax)
	movq	8(%rax), %rdi
	callq	_dev_info
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BE_DISABLE_TPE_RECOVERY,4,2    ## @BE_DISABLE_TPE_RECOVERY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HW error recovery is disabled\n"

L_.str.1:                               ## @.str.1
	.asciz	"HW error recovery is enabled\n"

	.no_dead_strip	_be_set_priv_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_set_priv_flags
_be_set_priv_flags:                     ; @be_set_priv_flags
	.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	x19, x1
	bl	_netdev_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _BE_DISABLE_TPE_RECOVERY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BE_DISABLE_TPE_RECOVERY@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	tst	w10, w8
	cset	w11, eq
	ands	w9, w10, w19
	cset	w12, ne
	eor	w11, w11, w12
	tbnz	w11, #0, LBB0_2
; %bb.1:
	orr	w11, w10, w8
	bic	w8, w8, w10
Lloh3:
	adrp	x10, l_.str.1@PAGE
Lloh4:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w9, #0
	csel	w8, w11, w8, ne
Lloh5:
	adrp	x9, l_.str@PAGE
Lloh6:
	add	x9, x9, l_.str@PAGEOFF
	csel	x1, x9, x10, ne
	str	w8, [x0]
	ldr	x0, [x0, #8]
	bl	_dev_info
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BE_DISABLE_TPE_RECOVERY,4,2    ; @BE_DISABLE_TPE_RECOVERY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HW error recovery is disabled\n"

l_.str.1:                               ; @.str.1
	.asciz	"HW error recovery is enabled\n"

	.no_dead_strip	_be_set_priv_flags
.subsections_via_symbols
