	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_rf6052_set_bandwidth ## -- Begin function rtl92d_phy_rf6052_set_bandwidth
	.p2align	4, 0x90
_rtl92d_phy_rf6052_set_bandwidth:       ## @rtl92d_phy_rf6052_set_bandwidth
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r15
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$128, %ebx
	jne	LBB0_9
## %bb.2:
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	andl	$-3073, (%rax,%rbx,4)           ## imm = 0xF3FF
	movq	_RF_CHNLBW@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	$10, %edi
	callq	_BIT
	movl	%eax, %r12d
	movl	$11, %edi
	callq	_BIT
	orl	%eax, %r12d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	callq	_rtl_set_rfreg
	movq	_COMP_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %r8d
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rcx
	callq	_RT_TRACE
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_8
LBB0_5:
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	$-3073, %edx                    ## imm = 0xF3FF
	andl	%edx, %ecx
	orl	$1024, %ecx                     ## imm = 0x400
	movl	%ecx, (%rax,%rbx,4)
	movq	_RF_CHNLBW@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	$10, %edi
	callq	_BIT
	movl	%eax, %r12d
	movl	$11, %edi
	callq	_BIT
	orl	%eax, %r12d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	$1, %r8d
	callq	_rtl_set_rfreg
	movq	_COMP_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %r8d
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rcx
	callq	_RT_TRACE
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_CHNLBW,4,2                  ## @RF_CHNLBW
	.comm	_COMP_RF,4,2                    ## @COMP_RF
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"20M RF 0x18 = 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"40M RF 0x18 = 0x%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"unknown bandwidth: %#X\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_rf6052_set_bandwidth ; -- Begin function rtl92d_phy_rf6052_set_bandwidth
	.p2align	2
_rtl92d_phy_rf6052_set_bandwidth:       ; @rtl92d_phy_rf6052_set_bandwidth
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	cmp	w21, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w21, #128
	b.ne	LBB0_9
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x21, #0
Lloh0:
	adrp	x25, _RF_CHNLBW@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RF_CHNLBW@GOTPAGEOFF]
Lloh2:
	adrp	x26, _COMP_RF@GOTPAGE
Lloh3:
	ldr	x26, [x26, _COMP_RF@GOTPAGEOFF]
Lloh4:
	adrp	x27, _DBG_LOUD@GOTPAGE
Lloh5:
	ldr	x27, [x27, _DBG_LOUD@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	lsl	x28, x21, #2
	ldr	w9, [x8, x28]
	and	w9, w9, #0xfffff3ff
	str	w9, [x8, x28]
	ldr	w23, [x25]
	mov	w0, #10
	bl	_BIT
	mov	x24, x0
	mov	w0, #11
	bl	_BIT
	orr	w3, w0, w24
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	w4, #0
	bl	_rtl_set_rfreg
	ldr	w1, [x26]
	ldr	w2, [x27]
	ldr	x8, [x20, #8]
	ldr	w4, [x8, x28]
	mov	x0, x20
	mov	x3, x22
	bl	_RT_TRACE
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_4
	b	LBB0_8
LBB0_5:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x21, #0
Lloh8:
	adrp	x25, _RF_CHNLBW@GOTPAGE
Lloh9:
	ldr	x25, [x25, _RF_CHNLBW@GOTPAGEOFF]
Lloh10:
	adrp	x26, _COMP_RF@GOTPAGE
Lloh11:
	ldr	x26, [x26, _COMP_RF@GOTPAGEOFF]
Lloh12:
	adrp	x27, _DBG_LOUD@GOTPAGE
Lloh13:
	ldr	x27, [x27, _DBG_LOUD@GOTPAGEOFF]
Lloh14:
	adrp	x22, l_.str@PAGE
Lloh15:
	add	x22, x22, l_.str@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	lsl	x28, x21, #2
	ldr	w9, [x8, x28]
	and	w9, w9, #0xfffff3ff
	orr	w9, w9, #0x400
	str	w9, [x8, x28]
	ldr	w23, [x25]
	mov	w0, #10
	bl	_BIT
	mov	x24, x0
	mov	w0, #11
	bl	_BIT
	orr	w3, w0, w24
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	w4, #1
	bl	_rtl_set_rfreg
	ldr	w1, [x26]
	ldr	w2, [x27]
	ldr	x8, [x20, #8]
	ldr	w4, [x8, x28]
	mov	x0, x20
	mov	x3, x22
	bl	_RT_TRACE
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_7
LBB0_8:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, 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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_pr_err
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_CHNLBW,4,2                  ; @RF_CHNLBW
	.comm	_COMP_RF,4,2                    ; @COMP_RF
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"20M RF 0x18 = 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"40M RF 0x18 = 0x%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"unknown bandwidth: %#X\n"

.subsections_via_symbols
