	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl88e_phy_rf6052_set_bandwidth ## -- Begin function rtl88e_phy_rf6052_set_bandwidth
	.p2align	4, 0x90
_rtl88e_phy_rf6052_set_bandwidth:       ## @rtl88e_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r15
	cmpl	$128, %ebx
	je	LBB0_3
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_5
## %bb.2:
	movq	(%r15), %rax
	movl	$-3073, %r12d                   ## imm = 0xF3FF
	andl	(%rax), %r12d
	movl	$10, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$11, %edi
	callq	_BIT
	orl	%eax, %ebx
	orl	%r12d, %ebx
	jmp	LBB0_4
LBB0_3:
	movq	(%r15), %rax
	movl	$-3073, %ebx                    ## imm = 0xF3FF
	andl	(%rax), %ebx
	movl	$10, %edi
	callq	_BIT
	orl	%eax, %ebx
LBB0_4:
	movq	(%r15), %rax
	movl	%ebx, (%rax)
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RF_CHNLBW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RFREG_OFFSET_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_set_rfreg                  ## TAILCALL
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RF90_PATH_A,4,2                ## @RF90_PATH_A
	.comm	_RF_CHNLBW,4,2                  ## @RF_CHNLBW
	.comm	_RFREG_OFFSET_MASK,4,2          ## @RFREG_OFFSET_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown bandwidth: %#X\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl88e_phy_rf6052_set_bandwidth ; -- Begin function rtl88e_phy_rf6052_set_bandwidth
	.p2align	2
_rtl88e_phy_rf6052_set_bandwidth:       ; @rtl88e_phy_rf6052_set_bandwidth
	.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	x21, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	cmp	w21, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w21, #129
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x20]
	ldr	w8, [x8]
	and	w21, w8, #0xfffff3ff
	mov	w0, #10
	bl	_BIT
	orr	w21, w21, w0
	mov	w0, #11
	b	LBB0_4
LBB0_3:
	ldr	x8, [x20]
	ldr	w8, [x8]
	and	w21, w8, #0xfffff3ff
	mov	w0, #10
LBB0_4:
	bl	_BIT
	orr	w4, w21, w0
	ldr	x8, [x20]
	str	w4, [x8]
Lloh0:
	adrp	x8, _RF90_PATH_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RF90_PATH_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RF_CHNLBW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RF_CHNLBW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _RFREG_OFFSET_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RFREG_OFFSET_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	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	_rtl_set_rfreg
LBB0_5:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	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	_pr_err
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RF90_PATH_A,4,2                ; @RF90_PATH_A
	.comm	_RF_CHNLBW,4,2                  ; @RF_CHNLBW
	.comm	_RFREG_OFFSET_MASK,4,2          ; @RFREG_OFFSET_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown bandwidth: %#X\n"

.subsections_via_symbols
