	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7603_adjust_sensitivity
_mt7603_adjust_sensitivity:             ## @mt7603_adjust_sensitivity
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	8(%rdi), %ebx
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	cmpl	$-101, %ebx
	jle	LBB0_2
## %bb.3:
	cmpl	$-84, %ebx
	jg	LBB0_5
## %bb.4:
	addb	$92, %bl
	movl	%ebx, %eax
	shrb	$7, %al
	addb	%bl, %al
	sarb	%al
	addb	$7, %al
	movzbl	%al, %ebx
	movl	%ebx, %eax
	shll	$12, %eax
	shll	$16, %ebx
	orl	%eax, %ebx
	orl	$1458571119, %ebx               ## imm = 0x56F0076F
	movl	$-2117020189, %r15d             ## imm = 0x81D0D5E3
	jmp	LBB0_10
LBB0_2:
	movl	(%r14), %ebx
	movl	4(%r14), %r15d
	movl	$0, 8(%r14)
	jmp	LBB0_10
LBB0_5:
	cmpl	$-72, %ebx
	jg	LBB0_7
## %bb.6:
	addb	$80, %bl
	movl	%ebx, %eax
	shrb	$7, %al
	addb	%bl, %al
	sarb	%al
	addb	$7, %al
	movzbl	%al, %ebx
	movl	%ebx, %eax
	shll	$8, %eax
	movl	%ebx, %ecx
	shll	$12, %ecx
	orl	%eax, %ecx
	shll	$16, %ebx
	orl	%ecx, %ebx
	orl	$1794113647, %ebx               ## imm = 0x6AF0006F
	movl	$-2122197533, %r15d             ## imm = 0x8181D5E3
	jmp	LBB0_10
LBB0_7:
	cmpl	$-53, %ebx
	jl	LBB0_9
## %bb.8:
	movl	$-54, 8(%r14)
	movl	$-54, %ebx
LBB0_9:
	addl	$80, %ebx
	shrl	%ebx
	andl	$127, %ebx
	addl	$7, %ebx
	movl	%ebx, %eax
	shll	$4, %eax
	movl	%ebx, %ecx
	shll	$8, %ecx
	orl	%eax, %ecx
	movl	%ebx, %eax
	shll	$12, %eax
	shll	$16, %ebx
	orl	%eax, %ebx
	orl	%ecx, %ebx
	orl	$2146435087, %ebx               ## imm = 0x7FF0000F
	movl	$-2122219037, %r15d             ## imm = 0x818181E3
LBB0_10:
	xorl	%edi, %edi
	callq	_MT_AGC
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_mt76_wr
	xorl	%edi, %edi
	callq	_MT_AGC1
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_mt76_wr
	movl	$3, %edi
	callq	_MT_AGC
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_mt76_wr
	movl	$3, %edi
	callq	_MT_AGC1
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt76_wr                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt7603_adjust_sensitivity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7603_adjust_sensitivity
_mt7603_adjust_sensitivity:             ; @mt7603_adjust_sensitivity
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_4
; %bb.1:
	cmn	w8, #101
	b.le	LBB0_4
; %bb.2:
	cmn	w8, #84
	b.gt	LBB0_5
; %bb.3:
	add	w8, w8, #92
	and	w9, w8, #0x80
	add	w8, w8, w9, lsr #7
	sxtb	w8, w8
	lsr	w8, w8, #1
	add	w8, w8, #7
	and	w8, w8, #0xff
	lsl	w9, w8, #16
	orr	w8, w9, w8, lsl #12
	mov	w9, #1903
	movk	w9, #22256, lsl #16
	orr	w21, w8, w9
	mov	w8, #54755
	movk	w8, #33153, lsl #16
	add	w20, w8, #1264, lsl #12         ; =5177344
	b	LBB0_10
LBB0_4:
	ldp	w21, w20, [x19]
	str	wzr, [x19, #8]
	b	LBB0_10
LBB0_5:
	cmn	w8, #72
	b.gt	LBB0_7
; %bb.6:
	mov	w20, #54755
	movk	w20, #33153, lsl #16
	add	w8, w8, #80
	and	w9, w8, #0x80
	add	w8, w8, w9, lsr #7
	sxtb	w8, w8
	lsr	w8, w8, #1
	add	w8, w8, #7
	and	w8, w8, #0xff
	lsl	w9, w8, #12
	orr	w9, w9, w8, lsl #8
	orr	w8, w9, w8, lsl #16
	mov	w9, #111
	movk	w9, #27376, lsl #16
	orr	w21, w8, w9
	b	LBB0_10
LBB0_7:
	cmn	w8, #53
	b.lt	LBB0_9
; %bb.8:
	mov	w8, #-54
	str	w8, [x19, #8]
LBB0_9:
	add	w8, w8, #80
	ubfx	w8, w8, #1, #7
	add	w8, w8, #7
	lsl	w9, w8, #8
	orr	w9, w9, w8, lsl #4
	orr	w9, w9, w8, lsl #12
	orr	w8, w9, w8, lsl #16
	mov	w9, #15
	movk	w9, #32752, lsl #16
	orr	w21, w8, w9
	mov	w20, #33251
	movk	w20, #33153, lsl #16
LBB0_10:
	mov	w0, #0
	bl	_MT_AGC
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_mt76_wr
	mov	w0, #0
	bl	_MT_AGC1
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_mt76_wr
	mov	w0, #3
	bl	_MT_AGC
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_mt76_wr
	mov	w0, #3
	bl	_MT_AGC1
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mt76_wr
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt7603_adjust_sensitivity
.subsections_via_symbols
