	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_fill_mb_ie
_fst_fill_mb_ie:                        ## @fst_fill_mb_ie
	.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
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	addq	$56, %rax
	testq	%rdx, %rdx
	movl	$56, %r14d
	cmovneq	%rax, %r14
	movq	%r14, %rsi
	callq	_wpabuf_put
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_os_memset
	movq	_WLAN_EID_MULTI_BAND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	addq	$-2, %r14
	movq	%r14, (%rbx)
	movq	_MB_STA_ROLE_NON_PCP_NON_AP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	$0, 40(%rbx)
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movq	32(%rbx), %rdi
	movq	(%r15), %rdx
	movq	%r13, %rsi
	callq	_os_memcpy
LBB0_2:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rbx)
	movq	$0, 24(%rbx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%rbx)
	movq	_FST_DEFAULT_SESSION_TIMEOUT_TU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	testq	%r12, %r12
	je	LBB0_3
## %bb.4:
	movq	_MB_CTRL_STA_MAC_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rbx)
	addq	$56, %rbx
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_os_memcpy                      ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.comm	_WLAN_EID_MULTI_BAND,4,2        ## @WLAN_EID_MULTI_BAND
	.comm	_MB_STA_ROLE_NON_PCP_NON_AP,4,2 ## @MB_STA_ROLE_NON_PCP_NON_AP
	.comm	_FST_DEFAULT_SESSION_TIMEOUT_TU,4,2 ## @FST_DEFAULT_SESSION_TIMEOUT_TU
	.comm	_MB_CTRL_STA_MAC_PRESENT,4,2    ## @MB_CTRL_STA_MAC_PRESENT
	.comm	_MB_CONNECTION_CAPABILITY_AP,8,3 ## @MB_CONNECTION_CAPABILITY_AP
	.comm	_MB_STA_ROLE_AP,4,2             ## @MB_STA_ROLE_AP
	.no_dead_strip	_fst_fill_mb_ie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_fill_mb_ie
_fst_fill_mb_ie:                        ; @fst_fill_mb_ie
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x23, x1
	mov	w8, #56
Lloh0:
	adrp	x25, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ETH_ALEN@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x9, x9, #56
	cmp	x2, #0
	csel	x24, x8, x9, eq
	mov	x1, x24
	bl	_wpabuf_put
	mov	x22, x0
	mov	w1, #0
	mov	x2, x24
	bl	_os_memset
Lloh2:
	adrp	x8, _WLAN_EID_MULTI_BAND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WLAN_EID_MULTI_BAND@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x22, #48]
	sub	x8, x24, #2
	str	x8, [x22]
Lloh5:
	adrp	x8, _MB_STA_ROLE_NON_PCP_NON_AP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MB_STA_ROLE_NON_PCP_NON_AP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x22, #12]
	str	xzr, [x22, #40]
	cbz	x23, LBB0_2
; %bb.1:
	ldr	x0, [x22, #32]
	ldr	x2, [x25]
	mov	x1, x23
	bl	_os_memcpy
LBB0_2:
	str	w21, [x22, #8]
	str	xzr, [x22, #24]
Lloh8:
	adrp	x8, _FST_DEFAULT_SESSION_TIMEOUT_TU@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FST_DEFAULT_SESSION_TIMEOUT_TU@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w8, w20, [x22, #16]
	cbz	x19, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _MB_CTRL_STA_MAC_PRESENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MB_CTRL_STA_MAC_PRESENT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x22, #12]
	orr	w8, w9, w8
	str	w8, [x22, #12]
	add	x0, x22, #56
	ldr	x2, [x25]
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_os_memcpy
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.comm	_WLAN_EID_MULTI_BAND,4,2        ; @WLAN_EID_MULTI_BAND
	.comm	_MB_STA_ROLE_NON_PCP_NON_AP,4,2 ; @MB_STA_ROLE_NON_PCP_NON_AP
	.comm	_FST_DEFAULT_SESSION_TIMEOUT_TU,4,2 ; @FST_DEFAULT_SESSION_TIMEOUT_TU
	.comm	_MB_CTRL_STA_MAC_PRESENT,4,2    ; @MB_CTRL_STA_MAC_PRESENT
	.comm	_MB_CONNECTION_CAPABILITY_AP,8,3 ; @MB_CONNECTION_CAPABILITY_AP
	.comm	_MB_STA_ROLE_AP,4,2             ; @MB_STA_ROLE_AP
	.no_dead_strip	_fst_fill_mb_ie
.subsections_via_symbols
