	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7601u_set_channel_target_power
_mt7601u_set_channel_target_power:      ## @mt7601u_set_channel_target_power
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MT_EE_TX_TSSI_TARGET_POWER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rsi,%rax,4), %eax
	cmpl	%edx, %eax
	jg	LBB0_2
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	movl	$32, %eax
LBB0_3:
	movq	(%rbx), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	movl	$4, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_EE_TX_TSSI_TARGET_POWER,8,3 ## @MT_EE_TX_TSSI_TARGET_POWER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error: EEPROM trgt power invalid %hhx!\n"

	.no_dead_strip	_mt7601u_set_channel_target_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7601u_set_channel_target_power
_mt7601u_set_channel_target_power:      ; @mt7601u_set_channel_target_power
	.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, x0
Lloh0:
	adrp	x8, _MT_EE_TX_TSSI_TARGET_POWER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_EE_TX_TSSI_TARGET_POWER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x1, x8, lsl #2]
	cmp	w8, w2
	ccmp	w8, #0, #4, le
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_dev_warn
	mov	w8, #32
LBB0_2:
	ldr	x9, [x19]
	ldr	w0, [x9]
	mov	x1, x8
	mov	w2, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_EE_TX_TSSI_TARGET_POWER,8,3 ; @MT_EE_TX_TSSI_TARGET_POWER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: EEPROM trgt power invalid %hhx!\n"

	.no_dead_strip	_mt7601u_set_channel_target_power
.subsections_via_symbols
