	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_sta_setup_sdata      ## -- Begin function ieee80211_sta_setup_sdata
	.p2align	4, 0x90
_ieee80211_sta_setup_sdata:             ## @ieee80211_sta_setup_sdata
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$80, %rdi
	movq	_ieee80211_sta_monitor_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	76(%rbx), %rdi
	movq	_ieee80211_chswitch_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	72(%rbx), %rdi
	movq	_ieee80211_beacon_connection_loss_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	68(%rbx), %rdi
	movq	_ieee80211_csa_connection_drop_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	64(%rbx), %rdi
	movq	_ieee80211_request_smps_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	60(%rbx), %rdi
	movq	_ieee80211_sta_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_setup_timer
	leaq	56(%rbx), %rdi
	movq	_ieee80211_sta_bcn_mon_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_setup_timer
	leaq	52(%rbx), %rdi
	movq	_ieee80211_sta_conn_mon_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_setup_timer
	leaq	48(%rbx), %rdi
	movq	_ieee80211_chswitch_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_setup_timer
	movq	$0, 40(%rbx)
	movl	8(%rbx), %eax
	movl	%eax, 36(%rbx)
	movq	(%rbx), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 32(%rbx)
	movl	4(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	$-1, 16(%rbx)
	leaq	24(%rbx), %rdi
	callq	_mutex_init
	movq	(%rbx), %rax
	movq	_IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	jne	LBB0_1
## %bb.2:
	movq	_IEEE80211_SMPS_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IEEE80211_SMPS_AUTOMATIC@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ieee80211_sta_monitor_work,4,2 ## @ieee80211_sta_monitor_work
	.comm	_ieee80211_chswitch_work,4,2    ## @ieee80211_chswitch_work
	.comm	_ieee80211_beacon_connection_loss_work,4,2 ## @ieee80211_beacon_connection_loss_work
	.comm	_ieee80211_csa_connection_drop_work,4,2 ## @ieee80211_csa_connection_drop_work
	.comm	_ieee80211_request_smps_work,4,2 ## @ieee80211_request_smps_work
	.comm	_ieee80211_sta_timer,4,2        ## @ieee80211_sta_timer
	.comm	_ieee80211_sta_bcn_mon_timer,4,2 ## @ieee80211_sta_bcn_mon_timer
	.comm	_ieee80211_sta_conn_mon_timer,4,2 ## @ieee80211_sta_conn_mon_timer
	.comm	_ieee80211_chswitch_timer,4,2   ## @ieee80211_chswitch_timer
	.comm	_IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS,4,2 ## @IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS
	.comm	_IEEE80211_SMPS_AUTOMATIC,4,2   ## @IEEE80211_SMPS_AUTOMATIC
	.comm	_IEEE80211_SMPS_OFF,4,2         ## @IEEE80211_SMPS_OFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_sta_setup_sdata      ; -- Begin function ieee80211_sta_setup_sdata
	.p2align	2
_ieee80211_sta_setup_sdata:             ; @ieee80211_sta_setup_sdata
	.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, x0
	add	x0, x0, #80
Lloh0:
	adrp	x8, _ieee80211_sta_monitor_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ieee80211_sta_monitor_work@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #76
Lloh3:
	adrp	x8, _ieee80211_chswitch_work@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ieee80211_chswitch_work@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #72
Lloh6:
	adrp	x8, _ieee80211_beacon_connection_loss_work@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ieee80211_beacon_connection_loss_work@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #68
Lloh9:
	adrp	x8, _ieee80211_csa_connection_drop_work@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ieee80211_csa_connection_drop_work@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #64
Lloh12:
	adrp	x8, _ieee80211_request_smps_work@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ieee80211_request_smps_work@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #60
Lloh15:
	adrp	x8, _ieee80211_sta_timer@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ieee80211_sta_timer@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_setup_timer
	add	x0, x19, #56
Lloh18:
	adrp	x8, _ieee80211_sta_bcn_mon_timer@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ieee80211_sta_bcn_mon_timer@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_setup_timer
	add	x0, x19, #52
Lloh21:
	adrp	x8, _ieee80211_sta_conn_mon_timer@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ieee80211_sta_conn_mon_timer@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_setup_timer
	add	x0, x19, #48
Lloh24:
	adrp	x8, _ieee80211_chswitch_timer@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ieee80211_chswitch_timer@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_setup_timer
	str	xzr, [x19, #40]
	ldr	w8, [x19, #8]
	str	w8, [x19, #36]
	ldr	x8, [x19]
	ldur	d0, [x8, #4]
	stur	d0, [x19, #28]
	mov	w8, #-1
	str	w8, [x19, #16]
	add	x0, x19, #24
	bl	_mutex_init
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _IEEE80211_SMPS_OFF@GOTPAGE
Lloh31:
	ldr	x10, [x10, _IEEE80211_SMPS_OFF@GOTPAGEOFF]
Lloh32:
	adrp	x11, _IEEE80211_SMPS_AUTOMATIC@GOTPAGE
Lloh33:
	ldr	x11, [x11, _IEEE80211_SMPS_AUTOMATIC@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x19, #20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ieee80211_sta_monitor_work,4,2 ; @ieee80211_sta_monitor_work
	.comm	_ieee80211_chswitch_work,4,2    ; @ieee80211_chswitch_work
	.comm	_ieee80211_beacon_connection_loss_work,4,2 ; @ieee80211_beacon_connection_loss_work
	.comm	_ieee80211_csa_connection_drop_work,4,2 ; @ieee80211_csa_connection_drop_work
	.comm	_ieee80211_request_smps_work,4,2 ; @ieee80211_request_smps_work
	.comm	_ieee80211_sta_timer,4,2        ; @ieee80211_sta_timer
	.comm	_ieee80211_sta_bcn_mon_timer,4,2 ; @ieee80211_sta_bcn_mon_timer
	.comm	_ieee80211_sta_conn_mon_timer,4,2 ; @ieee80211_sta_conn_mon_timer
	.comm	_ieee80211_chswitch_timer,4,2   ; @ieee80211_chswitch_timer
	.comm	_IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS,4,2 ; @IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS
	.comm	_IEEE80211_SMPS_AUTOMATIC,4,2   ; @IEEE80211_SMPS_AUTOMATIC
	.comm	_IEEE80211_SMPS_OFF,4,2         ; @IEEE80211_SMPS_OFF
.subsections_via_symbols
