	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_set_msg_level
_be_set_msg_level:                      ## @be_set_msg_level
	.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
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_lancer_chip
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_1:
	movl	(%rbx), %eax
	cmpl	%r14d, %eax
	je	LBB0_8
## %bb.2:
	movq	_NETIF_MSG_HW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ecx, %eax
	andl	%r14d, %ecx
	cmpl	%eax, %ecx
	je	LBB0_7
## %bb.3:
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.5:
	movq	_FW_LOG_LEVEL_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_FW_LOG_LEVEL_DEFAULT@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_be_set_fw_log_level
LBB0_7:
	movl	%r14d, (%rbx)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Operation not supported\n"

	.comm	_NETIF_MSG_HW,4,2               ## @NETIF_MSG_HW
	.comm	_FW_LOG_LEVEL_DEFAULT,4,2       ## @FW_LOG_LEVEL_DEFAULT
	.comm	_FW_LOG_LEVEL_FATAL,4,2         ## @FW_LOG_LEVEL_FATAL
	.no_dead_strip	_be_set_msg_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_set_msg_level
_be_set_msg_level:                      ; @be_set_msg_level
	.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
	mov	x20, x0
	bl	_lancer_chip
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
LBB0_2:
	ldr	w8, [x20]
	cmp	w8, w19
	b.eq	LBB0_6
; %bb.3:
Lloh2:
	adrp	x9, _NETIF_MSG_HW@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NETIF_MSG_HW@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x9]
	and	w9, w10, w19
	and	w8, w10, w8
	cmp	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _FW_LOG_LEVEL_DEFAULT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FW_LOG_LEVEL_DEFAULT@GOTPAGEOFF]
Lloh7:
	adrp	x10, _FW_LOG_LEVEL_FATAL@GOTPAGE
Lloh8:
	ldr	x10, [x10, _FW_LOG_LEVEL_FATAL@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x0, x20
	bl	_be_set_fw_log_level
LBB0_5:
	str	w19, [x20]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Operation not supported\n"

	.comm	_NETIF_MSG_HW,4,2               ; @NETIF_MSG_HW
	.comm	_FW_LOG_LEVEL_DEFAULT,4,2       ; @FW_LOG_LEVEL_DEFAULT
	.comm	_FW_LOG_LEVEL_FATAL,4,2         ; @FW_LOG_LEVEL_FATAL
	.no_dead_strip	_be_set_msg_level
.subsections_via_symbols
