	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_set_beacon_int
_b43_set_beacon_int:                    ## @b43_set_beacon_int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_b43_time_lock
	movq	8(%rbx), %rax
	cmpl	$3, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_B43_MMIO_TSF_CFP_REP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	shll	$16, %edx
	movq	%rbx, %rdi
	callq	_b43_write32
	movq	_B43_MMIO_TSF_CFP_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	shll	$10, %edx
	movq	%rbx, %rdi
	callq	_b43_write32
	jmp	LBB0_3
LBB0_2:
	movl	%r14d, %edx
	sarl	$6, %edx
	movq	%rbx, %rdi
	movl	$1542, %esi                     ## imm = 0x606
	callq	_b43_write16
	movq	%rbx, %rdi
	movl	$1552, %esi                     ## imm = 0x610
	movl	%r14d, %edx
	callq	_b43_write16
LBB0_3:
	movq	%rbx, %rdi
	callq	_b43_time_unlock
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43dbg                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_MMIO_TSF_CFP_REP,4,2       ## @B43_MMIO_TSF_CFP_REP
	.comm	_B43_MMIO_TSF_CFP_START,4,2     ## @B43_MMIO_TSF_CFP_START
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Set beacon interval to %u\n"

	.no_dead_strip	_b43_set_beacon_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_set_beacon_int
_b43_set_beacon_int:                    ; @b43_set_beacon_int
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_b43_time_lock
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _B43_MMIO_TSF_CFP_REP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_MMIO_TSF_CFP_REP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	lsl	w2, w19, #16
	mov	x0, x20
	bl	_b43_write32
Lloh3:
	adrp	x8, _B43_MMIO_TSF_CFP_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_MMIO_TSF_CFP_START@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	lsl	w2, w19, #10
	mov	x0, x20
	bl	_b43_write32
	b	LBB0_3
LBB0_2:
	asr	w2, w19, #6
	mov	x0, x20
	mov	w1, #1542
	bl	_b43_write16
	mov	x0, x20
	mov	w1, #1552
	mov	x2, x19
	bl	_b43_write16
LBB0_3:
	mov	x0, x20
	bl	_b43_time_unlock
	ldr	w0, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43dbg
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_MMIO_TSF_CFP_REP,4,2       ; @B43_MMIO_TSF_CFP_REP
	.comm	_B43_MMIO_TSF_CFP_START,4,2     ; @B43_MMIO_TSF_CFP_START
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Set beacon interval to %u\n"

	.no_dead_strip	_b43_set_beacon_int
.subsections_via_symbols
