	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mac80211_hwsim_beacon_tx
_mac80211_hwsim_beacon_tx:              ## @mac80211_hwsim_beacon_tx
	.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
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	16(%rdi), %r14
	movq	%rdx, %rdi
	callq	_hwsim_check_magic
	movq	(%rbx), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ieee80211_beacon_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r13
	movq	_SUPPORTS_RC_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ieee80211_hw_check
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r13d
	movl	%r13d, %edi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	movl	%r13d, %ecx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %r8d
	callq	_ieee80211_get_tx_rates
LBB0_6:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ieee80211_get_tx_rate
	movq	%rax, %r13
	movq	(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_mac80211_hwsim_get_tsf_raw
	movq	%rax, %rcx
	movq	%rax, 8(%r15)
	addq	(%r15), %rcx
	movl	$1920, %eax                     ## imm = 0x780
	xorl	%edx, %edx
	idivl	(%r13)
	movslq	%eax, %rdi
	addq	%rcx, %rdi
	callq	_cpu_to_le64
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	16(%rbx), %edi
	callq	_rcu_dereference
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_mac80211_hwsim_tx_frame
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_ieee80211_csa_is_complete
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_csa_finish           ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ## @NL80211_IFTYPE_MESH_POINT
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_SUPPORTS_RC_TABLE,4,2          ## @SUPPORTS_RC_TABLE
	.no_dead_strip	_mac80211_hwsim_beacon_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mac80211_hwsim_beacon_tx
_mac80211_hwsim_beacon_tx:              ; @mac80211_hwsim_beacon_tx
	.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
	mov	x19, x2
	mov	x21, x0
	ldr	x20, [x0, #16]
	mov	x0, x2
	bl	_hwsim_check_magic
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh7:
	ldr	x11, [x11, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_7
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_ieee80211_beacon_get
	cbz	x0, LBB0_7
; %bb.2:
	mov	x22, x0
	bl	_IEEE80211_SKB_CB
	mov	x23, x0
Lloh9:
	adrp	x8, _SUPPORTS_RC_TABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SUPPORTS_RC_TABLE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ieee80211_hw_check
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w24, [x23]
	mov	x0, x24
	bl	_ARRAY_SIZE
	mov	x4, x0
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	mov	x3, x24
	bl	_ieee80211_get_tx_rates
LBB0_4:
	mov	x0, x20
	mov	x1, x23
	bl	_ieee80211_get_tx_rate
	mov	x23, x0
	ldr	x24, [x22]
	bl	_mac80211_hwsim_get_tsf_raw
	str	x0, [x21, #8]
	ldr	x8, [x21]
	add	x8, x8, x0
	ldr	w9, [x23]
	mov	w10, #1920
	sdiv	w9, w10, w9
	add	x0, x8, w9, sxtw
	bl	_cpu_to_le64
	str	w0, [x24]
	ldr	w0, [x19, #16]
	bl	_rcu_dereference
	ldr	w2, [x0]
	mov	x0, x20
	mov	x1, x22
	bl	_mac80211_hwsim_tx_frame
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_ieee80211_csa_is_complete
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	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	_ieee80211_csa_finish
LBB0_7:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ; @NL80211_IFTYPE_MESH_POINT
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_SUPPORTS_RC_TABLE,4,2          ; @SUPPORTS_RC_TABLE
	.no_dead_strip	_mac80211_hwsim_beacon_tx
.subsections_via_symbols
