	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_cmd_set_fw_log_level        ## -- Begin function be_cmd_set_fw_log_level
	.p2align	4, 0x90
_be_cmd_set_fw_log_level:               ## @be_cmd_set_fw_log_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	leaq	-56(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	$4, -56(%rbp)
	movq	(%r14), %rdi
	leaq	-52(%rbp), %rdx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %esi
	callq	_dma_alloc_coherent
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_be_cmd_get_ext_fat_capabilites
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.3:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rbx
	movl	12(%rbx), %edi
	addq	$4, %rbx
	callq	_le32_to_cpu
	testl	%eax, %eax
	jle	LBB0_11
## %bb.4:
	xorl	%r12d, %r12d
	movq	_MODE_UART@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	incq	%r12
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	cltq
	cmpq	%rax, %r12
	jge	LBB0_11
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	(%rbx), %rax
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	shlq	$4, %r12
	movl	8(%rax,%r12), %edi
	callq	_le32_to_cpu
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r15d
	movq	(%rbx), %rcx
	shlq	$4, %r15
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	addq	$16, %r14
	cmpq	%r14, %r15
	je	LBB0_10
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%r12), %rax
	movq	(%rax,%r14), %rax
	cmpq	(%r13), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	(%rbx), %rcx
	movq	(%rcx,%r12), %rdx
	movl	%eax, 8(%rdx,%r14)
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_11:
	leaq	-56(%rbp), %rsi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_be_cmd_set_ext_fat_capabilites
	movl	%eax, %ebx
LBB0_12:
	movq	(%r14), %rdi
	movq	-48(%rbp), %rdx
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %ecx
	callq	_dma_free_coherent
LBB0_13:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MODE_UART,8,3                  ## @MODE_UART
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_cmd_set_fw_log_level        ; -- Begin function be_cmd_set_fw_log_level
	.p2align	2
_be_cmd_set_fw_log_level:               ; @be_cmd_set_fw_log_level
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	mov	x21, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	w8, #4
	str	w8, [sp]
	ldr	x0, [x19]
	orr	x2, x21, #0x4
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w1, #4
	bl	_dma_alloc_coherent
	str	x0, [sp, #8]
	cbz	x0, LBB0_10
; %bb.1:
	mov	x1, sp
	mov	x0, x19
	bl	_be_cmd_get_ext_fat_capabilites
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.2:
	ldr	x8, [sp, #8]
	add	x21, x8, #4
	ldr	w0, [x8, #12]
	bl	_le32_to_cpu
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.3:
	mov	x22, #0
Lloh3:
	adrp	x23, _MODE_UART@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MODE_UART@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldr	w0, [x21, #8]
	bl	_le32_to_cpu
	cmp	x22, w0, sxtw
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x21]
	add	x8, x8, x22, lsl #4
	ldr	w0, [x8, #8]
	bl	_le32_to_cpu
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, #0
	mov	w9, w0
	ldr	x8, [x21]
	lsl	x25, x9, #4
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x24, x24, #16
	cmp	x25, x24
	b.eq	LBB0_4
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x26, x22, #4
	ldr	x9, [x8, x26]
	ldr	x9, [x9, x24]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x20
	bl	_cpu_to_le32
	ldr	x8, [x21]
	ldr	x9, [x8, x26]
	add	x9, x9, x24
	str	w0, [x9, #8]
	b	LBB0_7
LBB0_10:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_11:
	mov	x1, sp
	mov	x0, x19
	mov	x2, x21
	bl	_be_cmd_set_ext_fat_capabilites
	mov	x21, x0
LBB0_12:
	ldr	x0, [x19]
	ldr	x2, [sp, #8]
	ldp	w1, w3, [sp]
	bl	_dma_free_coherent
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MODE_UART,8,3                  ; @MODE_UART
.subsections_via_symbols
