	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl92d_bandtype_5G
_rtl92d_bandtype_5G:                    ## @rtl92d_bandtype_5G
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	testl	%r9d, %r9d
	jle	LBB0_19
## %bb.1:
	movq	48(%rbp), %r10
	movq	40(%rbp), %r15
	movq	16(%rbp), %r12
	movq	_INDEX_MAPPING_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r8
	movq	_DUALMAC_DUALPHY@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	-44(%rbp), %r11d                ## 4-byte Reload
	movslq	%r11d, %r13
	movl	%r13d, %eax
	shrl	$31, %eax
	addl	%r11d, %eax
	movl	%eax, %ebx
	andl	$-2, %ebx
	sarl	%eax
	leal	(%rax,%rax,2), %eax
	subl	%r13d, %ebx
	subl	%eax, %ebx
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%r9d, %r11d
	leaq	(%r10,%r13,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%r13,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%r12), %r15
	xorl	%r9d, %r9d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%r10d, (%rsi,%r9,4)
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r9
	cmpq	%r9, %r11
	je	LBB0_19
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %r8
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %eax
	cmpl	$1, 8(%rdi)
	je	LBB0_5
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r9, %rax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15,%rax,4), %ebx
	movl	%ebx, (%rdx)
	movl	8(%rdi), %r10d
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	cmpl	$1, %r10d
	sete	%al
	leal	(,%rax,4), %r10d
	movq	32(%rbp), %rbx
	movl	(%rbx), %ebx
	addl	$-100, %ebx
	cmpl	$66, %ebx
	leal	2(,%rax,4), %eax
	cmovael	%r10d, %eax
	movq	16(%rbp), %rbx
	movl	8(%rbx), %r12d
	xorl	%ebx, %ebx
	cmpl	%ecx, %r12d
	setl	%bl
	orl	%eax, %ebx
	movq	_INDEX_MAPPING_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %r10
	cmpl	-44(%rbp), %r10d                ## 4-byte Folded Reload
	jle	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %eax
	imulq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx,%rax,4), %r10d
	cmpl	%ecx, %r12d
	jge	LBB0_17
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %r13
	xorl	%esi, %esi
	cmpl	$1, %r10d
	sete	%sil
	movq	16(%rbp), %rax
	movl	8(%rax), %r12d
	xorl	%eax, %eax
	cmpl	%ecx, %r12d
	setl	%al
	leal	(%rax,%rsi,2), %esi
	movq	_INDEX_MAPPING_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jle	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %eax
	imulq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%rax,4), %r10d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %ebx
	imulq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	48(%rbp), %rax
	leaq	(%rax,%rbx,4), %rbx
	movl	-4(%rbx,%r10,4), %r10d
	cmpl	%ecx, %r12d
	jge	LBB0_17
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$19, %ecx
	jl	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax,%r9,4), %eax
	addl	-60(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, (%rsi,%r9,4)
	jmp	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %esi
	imulq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	40(%rbp), %rbx
	leaq	(%rbx,%rsi,4), %rsi
	movl	-4(%rsi,%rax,4), %r10d
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, %r12d
	movq	%r13, %rsi
	jge	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	subl	%r10d, (%rsi,%r9,4)
	jmp	LBB0_18
LBB0_19:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INDEX_MAPPING_NUM,4,2          ## @INDEX_MAPPING_NUM
	.comm	_DUALMAC_DUALPHY,8,3            ## @DUALMAC_DUALPHY
	.no_dead_strip	_rtl92d_bandtype_5G
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl92d_bandtype_5G
_rtl92d_bandtype_5G:                    ; @rtl92d_bandtype_5G
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	.cfi_offset w23, -40
	.cfi_offset w24, -48
                                        ; kill: def $w4 killed $w4 def $x4
	cmp	w5, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x8, #0
	ldp	x11, x9, [sp, #56]
Lloh0:
	adrp	x10, _INDEX_MAPPING_NUM@GOTPAGE
Lloh1:
	ldr	x10, [x10, _INDEX_MAPPING_NUM@GOTPAGEOFF]
	ldr	x12, [sp, #48]
	ldr	w13, [x10]
	ldr	x14, [x0]
Lloh2:
	adrp	x15, _DUALMAC_DUALPHY@GOTPAGE
Lloh3:
	ldr	x15, [x15, _DUALMAC_DUALPHY@GOTPAGEOFF]
Lloh4:
	ldr	x15, [x15]
	cmp	w4, #0
	cinc	w16, w4, lt
	asr	w17, w16, #1
	and	w16, w16, #0xfffffffe
	sub	w17, w17, w17, lsl #2
	sub	w16, w16, w4
	add	w16, w17, w16
	mov	w17, w5
	sbfiz	x19, x4, #2, #32
	add	x5, x9, x19
	add	x19, x11, x19
	ldr	x20, [x6]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	x22, x8, #2
	ldr	w23, [x1, x22]
	add	w21, w23, w21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w21, [x1, x22]
	add	x8, x8, #1
	cmp	x17, x8
	b.eq	LBB0_18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x14, x15
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w21, [x0, #8]
	cmp	w21, #1
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w21, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x8
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w22, [x20, x21, lsl #2]
	str	w22, [x2]
	ldr	w21, [x0, #8]
	cmp	w21, #1
	cbz	w22, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cset	w21, eq
	lsl	w22, w21, #2
	ldr	w23, [x12]
	sub	w23, w23, #100
	mov	w24, #2
	bfi	w24, w21, #2, #1
	cmp	w23, #66
	csel	w21, w24, w22, lo
	ldr	w22, [x6, #8]
	cmp	w22, w3
	cset	w23, lt
	orr	w21, w21, w23
	ldr	w23, [x10]
	cmp	w23, w4
	b.le	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mul	x21, x21, x13
	ldr	w21, [x5, x21, lsl #2]
	cmp	w22, w3
	b.ge	LBB0_2
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cset	w23, eq
	ldr	w22, [x6, #8]
	cmp	w22, w3
	cset	w21, lt
	bfi	w21, w23, #1, #1
	ldr	w23, [x10]
	cmp	w23, w4
	b.le	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mul	x21, x21, x13
	ldr	w21, [x19, x21, lsl #2]
	cmp	w22, w3
	b.ge	LBB0_2
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w23, w23, #1
	mul	x21, x21, x13
	add	x21, x9, x21, lsl #2
	ldr	w21, [x21, w23, sxtw #2]
	cmp	w22, w3
	b.ge	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w3, #19
	b.lt	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x7]
	lsl	x22, x8, #2
	ldr	w21, [x21, x22]
	add	w21, w16, w21
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w23, w23, #1
	mul	x21, x21, x13
	add	x21, x11, x21, lsl #2
	ldr	w21, [x21, w23, sxtw #2]
	cmp	w22, w3
	b.ge	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x22, x8, #2
	ldr	w23, [x1, x22]
	sub	w21, w23, w21
	b	LBB0_3
LBB0_18:
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INDEX_MAPPING_NUM,4,2          ; @INDEX_MAPPING_NUM
	.comm	_DUALMAC_DUALPHY,8,3            ; @DUALMAC_DUALPHY
	.no_dead_strip	_rtl92d_bandtype_5G
.subsections_via_symbols
