	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_sta_add                ## -- Begin function hostapd_sta_add
	.p2align	4, 0x90
_hostapd_sta_add:                       ## @hostapd_sta_add
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	8(%rdi), %rdx
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rdx)
	je	LBB0_3
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-168(%rbp), %rdi
	xorl	%esi, %esi
	movl	$120, %edx
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, %r13
	callq	_os_memset
	movq	%r15, -168(%rbp)
	movq	%r12, -56(%rbp)
	movq	%r13, -64(%rbp)
	movq	%r14, -160(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -152(%rbp)
	movq	16(%rbp), %rax
	movq	%rax, -72(%rbp)
	movq	24(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	32(%rbp), %rax
	movq	%rax, -88(%rbp)
	movq	40(%rbp), %rax
	movq	%rax, -96(%rbp)
	movq	48(%rbp), %rax
	movq	%rax, -144(%rbp)
	movq	_WLAN_STA_VHT_OPMODE_ENABLED@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	movl	56(%rbp), %edi
	andl	%edi, %eax
	setne	%cl
	movl	%ecx, -136(%rbp)
	movq	72(%rbp), %rax
	movq	%rax, -104(%rbp)
	callq	_hostapd_sta_flags_to_drv
	movl	%eax, -112(%rbp)
	movq	64(%rbp), %rax
	movq	%rax, -120(%rbp)
	movl	80(%rbp), %eax
	movl	%eax, -132(%rbp)
	movl	88(%rbp), %eax
	movl	%eax, -128(%rbp)
	movq	8(%rbx), %rax
	movl	(%rbx), %edi
	leaq	-168(%rbp), %rsi
	callq	*(%rax)
LBB0_3:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STA_VHT_OPMODE_ENABLED,4,2 ## @WLAN_STA_VHT_OPMODE_ENABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_sta_add                ; -- Begin function hostapd_sta_add
	.p2align	2
_hostapd_sta_add:                       ; @hostapd_sta_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x20, x7
	mov	x22, x6
	mov	x21, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x19, x0
	ldr	w8, [x29, #68]
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	ldr	w8, [x29, #64]
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	ldr	x8, [x29, #56]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldr	x8, [x29, #48]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w27, [x29, #40]
	ldr	x8, [x29, #32]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x8, [x29, #24]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x28, [x29, #16]
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #120
	bl	_os_memset
	stp	x24, x25, [sp, #152]
	stp	x26, x23, [sp, #48]
	stp	x20, x22, [sp, #136]
	str	x28, [sp, #128]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	stp	x21, x8, [sp, #64]
Lloh0:
	adrp	x8, _WLAN_STA_VHT_OPMODE_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_STA_VHT_OPMODE_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w27
	cset	w8, ne
	str	w8, [sp, #80]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp, #112]
	mov	x0, x27
	bl	_hostapd_sta_flags_to_drv
	str	w0, [sp, #104]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	x8, [sp, #96]
	ldr	w9, [sp, #40]                   ; 4-byte Folded Reload
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	stp	w9, w8, [sp, #84]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w0, [x19]
	add	x1, sp, #48
	blr	x8
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STA_VHT_OPMODE_ENABLED,4,2 ; @WLAN_STA_VHT_OPMODE_ENABLED
.subsections_via_symbols
