	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_b_set_cwmin
_brcms_b_set_cwmin:                     ## @brcms_b_set_cwmin
	.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, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	%esi, (%rax)
	movl	(%rdi), %r15d
	movq	_objaddr@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_D11REGOFFS
	movq	_OBJADDR_SCR_SEL@GOTPCREL(%rip), %rcx
	movq	_S_DOT11_CWMIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_bcma_write32
	movl	(%rbx), %r15d
	movl	(%r12), %edi
	callq	_D11REGOFFS
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_bcma_read32
	movl	(%rbx), %ebx
	movq	_objdata@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_D11REGOFFS
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bcma_write32                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_objaddr,4,2                    ## @objaddr
	.comm	_OBJADDR_SCR_SEL,4,2            ## @OBJADDR_SCR_SEL
	.comm	_S_DOT11_CWMIN,4,2              ## @S_DOT11_CWMIN
	.comm	_objdata,4,2                    ## @objdata
	.no_dead_strip	_brcms_b_set_cwmin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_b_set_cwmin
_brcms_b_set_cwmin:                     ; @brcms_b_set_cwmin
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	str	w1, [x8]
	ldr	w21, [x0]
Lloh0:
	adrp	x22, _objaddr@GOTPAGE
Lloh1:
	ldr	x22, [x22, _objaddr@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_D11REGOFFS
	mov	x1, x0
Lloh2:
	adrp	x8, _OBJADDR_SCR_SEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OBJADDR_SCR_SEL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _S_DOT11_CWMIN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _S_DOT11_CWMIN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x21
	bl	_bcma_write32
	ldr	w21, [x20]
	ldr	w0, [x22]
	bl	_D11REGOFFS
	mov	x1, x0
	mov	x0, x21
	bl	_bcma_read32
	ldr	w20, [x20]
Lloh8:
	adrp	x8, _objdata@GOTPAGE
Lloh9:
	ldr	x8, [x8, _objdata@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_D11REGOFFS
	mov	x1, x0
	mov	x0, x20
	mov	x2, 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	_bcma_write32
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_objaddr,4,2                    ; @objaddr
	.comm	_OBJADDR_SCR_SEL,4,2            ; @OBJADDR_SCR_SEL
	.comm	_S_DOT11_CWMIN,4,2              ; @S_DOT11_CWMIN
	.comm	_objdata,4,2                    ; @objdata
	.no_dead_strip	_brcms_b_set_cwmin
.subsections_via_symbols
