	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_beacon_get_tim       ## -- Begin function ieee80211_beacon_get_tim
	.p2align	4, 0x90
_ieee80211_beacon_get_tim:              ## @ieee80211_beacon_get_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_hw_to_local
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_vif_to_sdata
	movq	%rax, %rbx
	movl	20(%rax), %edi
	callq	_rcu_dereference
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_ieee80211_sdata_running
	testl	%eax, %eax
	je	LBB0_31
## %bb.1:
	testq	%r12, %r12
	je	LBB0_31
## %bb.2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	$0, (%r15)
LBB0_4:
	leaq	8(%rbx), %rdi
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	$0, (%r14)
LBB0_6:
	movq	(%rdi), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.7:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	56(%rbx), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_30
## %bb.8:
	movq	%rax, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%r12), %rcx
	addq	16(%r12), %rax
	leaq	(%rcx,%rax), %rdi
	addq	$256, %rdi                      ## imm = 0x100
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_30
## %bb.9:
	movq	%rax, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	movq	%r13, %rdi
	callq	_skb_reserve
	movq	16(%r12), %rsi
	movq	%r13, %rdi
	callq	_skb_put
	movq	16(%r12), %rdx
	movq	24(%r12), %rsi
	movl	%eax, %edi
	callq	_memcpy
	leaq	52(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_ieee80211_beacon_add_tim
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movq	16(%r12), %rax
	movq	%rax, (%r15)
LBB0_11:
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movq	8(%r13), %rax
	subq	16(%r12), %rax
	movq	%rax, (%r14)
LBB0_13:
	cmpq	$0, 8(%r12)
	je	LBB0_15
## %bb.14:
	movq	(%r12), %rsi
	movq	%r13, %rdi
	callq	_skb_put
	movq	(%r12), %rdx
	movq	8(%r12), %rsi
	movl	%eax, %edi
	callq	_memcpy
LBB0_15:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_16:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.17:
	movl	48(%rbx), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_30
## %bb.18:
	movq	%rax, %r14
	movq	16(%rax), %rdi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	addq	8(%r15), %rdi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_30
## %bb.19:
	movq	%rax, %r13
	movq	8(%r15), %rsi
	movq	%rax, %rdi
	callq	_skb_reserve
	movq	16(%r14), %rsi
	movq	%r13, %rdi
	callq	_skb_put
	movq	16(%r14), %rdx
	movq	24(%r14), %rsi
	movl	%eax, %edi
	callq	_memcpy
	movq	(%r13), %r14
	movq	_IEEE80211_FTYPE_MGMT@GOTPCREL(%rip), %rax
	movq	_IEEE80211_STYPE_BEACON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_le16
	movl	%eax, (%r14)
	jmp	LBB0_26
LBB0_20:
	callq	_ieee80211_vif_is_mesh
	testq	%rax, %rax
	je	LBB0_29
## %bb.21:
	movl	40(%rbx), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_30
## %bb.22:
	movq	%rax, %r14
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_24:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rax
	movq	(%r14), %rcx
	addq	16(%r14), %rax
	leaq	(%rcx,%rax), %rdi
	addq	$256, %rdi                      ## imm = 0x100
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_30
## %bb.25:
	movq	%rax, %r13
	movq	8(%r15), %rsi
	movq	%rax, %rdi
	callq	_skb_reserve
	movq	16(%r14), %rsi
	movq	%r13, %rdi
	callq	_skb_put
	movq	16(%r14), %rdx
	movq	24(%r14), %rsi
	movl	%eax, %edi
	callq	_memcpy
	leaq	24(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_ieee80211_beacon_add_tim
	movq	(%r14), %rsi
	movq	%r13, %rdi
	callq	_skb_put
	movq	(%r14), %rdx
	movq	8(%r14), %rsi
	movl	%eax, %edi
	callq	_memcpy
LBB0_26:
	movq	(%r12), %rax
	movl	(%rax), %r15d
	movq	%r13, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r14
	movq	_IEEE80211_TX_INTFL_DONT_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_IEEE80211_TX_CTL_NO_ACK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movl	%r15d, 4(%r14)
	leaq	-128(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -80(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	movq	%rax, -112(%rbp)
	movq	%rbx, %rcx
	addq	$16, %rcx
	movq	%rcx, -88(%rbp)
	movq	%r13, -96(%rbp)
	movl	$-1, -104(%rbp)
	movq	(%rbx), %rcx
	movl	(%rcx,%r15,4), %edi
	movl	%edi, -128(%rbp)
	movb	(%rax), %cl
	movl	$-1, %edx
	shll	%cl, %edx
	movl	$-1, %eax
	notl	%edx
	cmpl	%edx, %edi
	je	LBB0_28
## %bb.27:
	callq	_fls
	decl	%eax
LBB0_28:
	movl	%eax, -124(%rbp)
	movl	$1, -120(%rbp)
	leaq	-128(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rate_control_get_rate
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r14)
	movq	_IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPCREL(%rip), %rax
	movq	_IEEE80211_TX_CTL_ASSIGN_SEQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%r14)
	jmp	LBB0_31
LBB0_29:
	movl	$1, %edi
	callq	_WARN_ON
LBB0_30:
	xorl	%r13d, %r13d
LBB0_31:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%r13, %rax
	addq	$88, %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_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ## @IEEE80211_FTYPE_MGMT
	.comm	_IEEE80211_STYPE_BEACON,4,2     ## @IEEE80211_STYPE_BEACON
	.comm	_IEEE80211_TX_INTFL_DONT_ENCRYPT,4,2 ## @IEEE80211_TX_INTFL_DONT_ENCRYPT
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ## @IEEE80211_TX_CTL_NO_ACK
	.comm	_IEEE80211_TX_CTL_CLEAR_PS_FILT,4,2 ## @IEEE80211_TX_CTL_CLEAR_PS_FILT
	.comm	_IEEE80211_TX_CTL_ASSIGN_SEQ,4,2 ## @IEEE80211_TX_CTL_ASSIGN_SEQ
	.comm	_IEEE80211_TX_CTL_FIRST_FRAGMENT,4,2 ## @IEEE80211_TX_CTL_FIRST_FRAGMENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_beacon_get_tim       ; -- Begin function ieee80211_beacon_get_tim
	.p2align	2
_ieee80211_beacon_get_tim:              ; @ieee80211_beacon_get_tim
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x3
	mov	x26, x2
	mov	x19, x1
	mov	x21, x0
	bl	_hw_to_local
	mov	x22, x0
	bl	_rcu_read_lock
	mov	x0, x19
	bl	_vif_to_sdata
	mov	x20, x0
	ldr	w0, [x0, #20]
	bl	_rcu_dereference
	mov	x23, x0
	mov	x0, x20
	bl	_ieee80211_sdata_running
	mov	x24, #0
	cbz	w0, LBB0_31
; %bb.1:
	cbz	x23, LBB0_31
; %bb.2:
	cbz	x26, LBB0_4
; %bb.3:
	str	xzr, [x26]
LBB0_4:
	add	x0, x20, #8
	cbz	x25, LBB0_6
; %bb.5:
	str	xzr, [x25]
LBB0_6:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.7:
	ldr	w0, [x20, #56]
	bl	_rcu_dereference
	cbz	x0, LBB0_30
; %bb.8:
	mov	x27, x0
	ldr	x8, [x22, #8]
	ldr	x9, [x0, #16]
	ldr	x10, [x0]
	add	x8, x8, x9
	add	x8, x8, x10
	add	x0, x8, #256
	bl	_dev_alloc_skb
	mov	x24, x0
	cbz	x0, LBB0_31
; %bb.9:
	ldr	x1, [x22, #8]
	mov	x0, x24
	bl	_skb_reserve
	ldr	x1, [x27, #16]
	mov	x0, x24
	bl	_skb_put
	ldp	x2, x1, [x27, #16]
	bl	_memcpy
	add	x1, x20, #52
	mov	x0, x20
	mov	x2, x24
	bl	_ieee80211_beacon_add_tim
	cbz	x26, LBB0_11
; %bb.10:
	ldr	x8, [x27, #16]
	str	x8, [x26]
LBB0_11:
	cbz	x25, LBB0_13
; %bb.12:
	ldr	x8, [x24, #8]
	ldr	x9, [x27, #16]
	sub	x8, x8, x9
	str	x8, [x25]
LBB0_13:
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_26
; %bb.14:
	ldr	x1, [x27]
	mov	x0, x24
	bl	_skb_put
	ldp	x2, x1, [x27]
	b	LBB0_25
LBB0_15:
Lloh3:
	adrp	x9, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.16:
	ldr	w0, [x20, #48]
	bl	_rcu_dereference
	cbz	x0, LBB0_30
; %bb.17:
	mov	x25, x0
	ldr	x8, [x22, #8]
	ldr	x9, [x0, #16]
	add	x0, x9, x8
	bl	_dev_alloc_skb
	mov	x24, x0
	cbz	x0, LBB0_31
; %bb.18:
	ldr	x1, [x22, #8]
	mov	x0, x24
	bl	_skb_reserve
	ldr	x1, [x25, #16]
	mov	x0, x24
	bl	_skb_put
	ldp	x2, x1, [x25, #16]
	bl	_memcpy
Lloh6:
	adrp	x8, _IEEE80211_FTYPE_MGMT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_FTYPE_MGMT@GOTPAGEOFF]
	ldr	x25, [x24]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IEEE80211_STYPE_BEACON@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_STYPE_BEACON@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_le16
	str	w0, [x25]
	b	LBB0_26
LBB0_19:
	bl	_ieee80211_vif_is_mesh
	cbz	x0, LBB0_29
; %bb.20:
	ldr	w0, [x20, #40]
	bl	_rcu_dereference
	cbz	x0, LBB0_30
; %bb.21:
	mov	x25, x0
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_23
; %bb.22:
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
LBB0_23:
	ldr	x8, [x22, #8]
	ldr	x9, [x25, #16]
	ldr	x10, [x25]
	add	x8, x8, x9
	add	x8, x8, x10
	add	x0, x8, #256
	bl	_dev_alloc_skb
	mov	x24, x0
	cbz	x0, LBB0_31
; %bb.24:
	ldr	x1, [x22, #8]
	mov	x0, x24
	bl	_skb_reserve
	ldr	x1, [x25, #16]
	mov	x0, x24
	bl	_skb_put
	ldp	x2, x1, [x25, #16]
	bl	_memcpy
	add	x1, x20, #24
	mov	x0, x20
	mov	x2, x24
	bl	_ieee80211_beacon_add_tim
	ldr	x1, [x25]
	mov	x0, x24
	bl	_skb_put
	ldp	x2, x1, [x25]
LBB0_25:
	bl	_memcpy
LBB0_26:
	ldr	x8, [x23]
	ldr	w25, [x8]
	mov	x0, x24
	bl	_IEEE80211_SKB_CB
	mov	x23, x0
Lloh12:
	adrp	x8, _IEEE80211_TX_INTFL_DONT_ENCRYPT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_TX_INTFL_DONT_ENCRYPT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x0]
Lloh15:
	adrp	x10, _IEEE80211_TX_CTL_NO_ACK@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IEEE80211_TX_CTL_NO_ACK@GOTPAGEOFF]
	orr	w8, w9, w8
	stp	w8, w25, [x0]
Lloh17:
	ldr	w9, [x10]
	orr	w8, w9, w8
	str	w8, [x0]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	str	x21, [sp, #56]
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x9, [x8, x25, lsl #3]
	str	x9, [sp, #24]
	mov	x8, x20
	ldr	x10, [x8], #16
	stp	x24, x8, [sp, #40]
	mov	w8, #-1
	str	w8, [sp, #32]
	ldr	w0, [x10, x25, lsl #2]
	str	w0, [sp, #8]
	ldr	w9, [x9]
	lsl	w9, w8, w9
	mvn	w9, w9
	cmp	w0, w9
	b.eq	LBB0_28
; %bb.27:
	bl	_fls
	sub	w8, w0, #1
LBB0_28:
	mov	w9, #1
	stp	w8, w9, [sp, #12]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, #0
	bl	_rate_control_get_rate
	str	x19, [x23, #8]
Lloh18:
	adrp	x8, _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _IEEE80211_TX_CTL_ASSIGN_SEQ@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IEEE80211_TX_CTL_ASSIGN_SEQ@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGE
Lloh25:
	ldr	x10, [x10, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh26:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x23]
	orr	w8, w8, w9
	str	w8, [x23]
	b	LBB0_31
LBB0_29:
	mov	w0, #1
	bl	_WARN_ON
LBB0_30:
	mov	x24, #0
LBB0_31:
	bl	_rcu_read_unlock
	mov	x0, x24
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ; @IEEE80211_FTYPE_MGMT
	.comm	_IEEE80211_STYPE_BEACON,4,2     ; @IEEE80211_STYPE_BEACON
	.comm	_IEEE80211_TX_INTFL_DONT_ENCRYPT,4,2 ; @IEEE80211_TX_INTFL_DONT_ENCRYPT
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ; @IEEE80211_TX_CTL_NO_ACK
	.comm	_IEEE80211_TX_CTL_CLEAR_PS_FILT,4,2 ; @IEEE80211_TX_CTL_CLEAR_PS_FILT
	.comm	_IEEE80211_TX_CTL_ASSIGN_SEQ,4,2 ; @IEEE80211_TX_CTL_ASSIGN_SEQ
	.comm	_IEEE80211_TX_CTL_FIRST_FRAGMENT,4,2 ; @IEEE80211_TX_CTL_FIRST_FRAGMENT
.subsections_via_symbols
