	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_ops_beacon_set_tim
_brcms_ops_beacon_set_tim:              ## @brcms_ops_beacon_set_tim
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movl	$0, -20(%rbp)
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	leaq	-20(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_ieee80211_beacon_get_tim
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	movl	-20(%rbp), %edx
	movq	(%rdi), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rsi
	callq	_brcms_c_set_new_beacon
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_brcms_ops_beacon_set_tim
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_ops_beacon_set_tim
_brcms_ops_beacon_set_tim:              ; @brcms_ops_beacon_set_tim
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	ldr	x19, [x0]
	str	wzr, [sp, #12]
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	cbz	x1, LBB0_3
; %bb.1:
	add	x2, sp, #12
	mov	x0, x20
	mov	x3, #0
	bl	_ieee80211_beacon_get_tim
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x0
	ldr	x0, [x19, #8]
	ldr	w2, [sp, #12]
	ldr	x8, [x0]
	ldr	w3, [x8]
	bl	_brcms_c_set_new_beacon
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_brcms_ops_beacon_set_tim
.subsections_via_symbols
