	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7615_mcu_wtbl_bmc            ## -- Begin function mt7615_mcu_wtbl_bmc
	.p2align	4, 0x90
_mt7615_mcu_wtbl_bmc:                   ## @mt7615_mcu_wtbl_bmc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rsi), %rsi
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	addq	$16, %rsp
	popq	%rbp
	jmp	_mt7615_mcu_add_wtbl_bmc        ## TAILCALL
LBB0_1:
	movq	_WTBL_RESET_AND_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movl	(%rsi), %eax
	movl	%eax, -4(%rbp)
	movq	_MCU_EXT_CMD_WTBL_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rdx
	movl	$8, %ecx
	movl	$1, %r8d
	callq	___mt76_mcu_send_msg
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WTBL_RESET_AND_SET,4,2         ## @WTBL_RESET_AND_SET
	.comm	_MCU_EXT_CMD_WTBL_UPDATE,4,2    ## @MCU_EXT_CMD_WTBL_UPDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7615_mcu_wtbl_bmc            ; -- Begin function mt7615_mcu_wtbl_bmc
	.p2align	2
_mt7615_mcu_wtbl_bmc:                   ; @mt7615_mcu_wtbl_bmc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x1, [x1]
	cbz	w2, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_mt7615_mcu_add_wtbl_bmc
LBB0_2:
Lloh0:
	adrp	x8, _WTBL_RESET_AND_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WTBL_RESET_AND_SET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x1]
	stp	w8, w9, [sp, #8]
Lloh3:
	adrp	x8, _MCU_EXT_CMD_WTBL_UPDATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCU_EXT_CMD_WTBL_UPDATE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	w3, #8
	mov	w4, #1
	bl	___mt76_mcu_send_msg
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WTBL_RESET_AND_SET,4,2         ; @WTBL_RESET_AND_SET
	.comm	_MCU_EXT_CMD_WTBL_UPDATE,4,2    ; @MCU_EXT_CMD_WTBL_UPDATE
.subsections_via_symbols
