	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_b_retrylimit_upd
_brcms_b_retrylimit_upd:                ## @brcms_b_retrylimit_upd
	.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, (%rdi)
	movl	%edx, 4(%rdi)
	cmpq	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movl	8(%rdi), %r14d
	movq	_objaddr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_D11REGOFFS
	movq	_OBJADDR_SCR_SEL@GOTPCREL(%rip), %r12
	movq	_S_DOT11_SRC_LMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%r12), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_bcma_write32
	movl	8(%rbx), %r14d
	movl	(%r15), %edi
	callq	_D11REGOFFS
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_bcma_read32
	movl	8(%rbx), %r14d
	movq	_objdata@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_D11REGOFFS
	movl	(%rbx), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_bcma_write32
	movl	8(%rbx), %r14d
	movl	(%r15), %edi
	callq	_D11REGOFFS
	movq	_S_DOT11_LRC_LMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%r12), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_bcma_write32
	movl	8(%rbx), %r14d
	movl	(%r15), %edi
	callq	_D11REGOFFS
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_bcma_read32
	movl	8(%rbx), %r14d
	movl	(%r13), %edi
	callq	_D11REGOFFS
	movl	4(%rbx), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bcma_write32                   ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_objaddr,4,2                    ## @objaddr
	.comm	_OBJADDR_SCR_SEL,4,2            ## @OBJADDR_SCR_SEL
	.comm	_S_DOT11_SRC_LMT,4,2            ## @S_DOT11_SRC_LMT
	.comm	_objdata,4,2                    ## @objdata
	.comm	_S_DOT11_LRC_LMT,4,2            ## @S_DOT11_LRC_LMT
	.no_dead_strip	_brcms_b_retrylimit_upd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_b_retrylimit_upd
_brcms_b_retrylimit_upd:                ; @brcms_b_retrylimit_upd
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	stp	w1, w2, [x0]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w20, [x0, #8]
Lloh0:
	adrp	x21, _objaddr@GOTPAGE
Lloh1:
	ldr	x21, [x21, _objaddr@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_D11REGOFFS
	mov	x1, x0
Lloh2:
	adrp	x22, _OBJADDR_SCR_SEL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _OBJADDR_SCR_SEL@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh4:
	adrp	x9, _S_DOT11_SRC_LMT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _S_DOT11_SRC_LMT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_bcma_write32
	ldr	w20, [x19, #8]
	ldr	w0, [x21]
	bl	_D11REGOFFS
	mov	x1, x0
	mov	x0, x20
	bl	_bcma_read32
	ldr	w20, [x19, #8]
Lloh7:
	adrp	x23, _objdata@GOTPAGE
Lloh8:
	ldr	x23, [x23, _objdata@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_D11REGOFFS
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x20
	bl	_bcma_write32
	ldr	w20, [x19, #8]
	ldr	w0, [x21]
	bl	_D11REGOFFS
	mov	x1, x0
	ldr	w8, [x22]
Lloh9:
	adrp	x9, _S_DOT11_LRC_LMT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _S_DOT11_LRC_LMT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_bcma_write32
	ldr	w20, [x19, #8]
	ldr	w0, [x21]
	bl	_D11REGOFFS
	mov	x1, x0
	mov	x0, x20
	bl	_bcma_read32
	ldr	w20, [x19, #8]
	ldr	w0, [x23]
	bl	_D11REGOFFS
	mov	x1, x0
	ldr	w2, [x19, #4]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bcma_write32
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.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_SRC_LMT,4,2            ; @S_DOT11_SRC_LMT
	.comm	_objdata,4,2                    ; @objdata
	.comm	_S_DOT11_LRC_LMT,4,2            ; @S_DOT11_LRC_LMT
	.no_dead_strip	_brcms_b_retrylimit_upd
.subsections_via_symbols
