	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_multi_ap_ie                ## -- Begin function add_multi_ap_ie
	.p2align	4, 0x90
_add_multi_ap_ie:                       ## @add_multi_ap_ie
	.cfi_startproc
## %bb.0:
	cmpq	$9, %rsi
	jae	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	retq
LBB0_2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movq	_WLAN_EID_VENDOR_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	addq	$8, %rdi
	movl	$7, 4(%rbx)
	movq	_OUI_WFA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WPA_PUT_BE24
	movq	_MULTI_AP_OUI_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_MULTI_AP_SUB_ELEM_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	$1, 28(%rbx)
	movl	%r14d, 32(%rbx)
	movl	$9, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_VENDOR_SPECIFIC,4,2   ## @WLAN_EID_VENDOR_SPECIFIC
	.comm	_OUI_WFA,4,2                    ## @OUI_WFA
	.comm	_MULTI_AP_OUI_TYPE,4,2          ## @MULTI_AP_OUI_TYPE
	.comm	_MULTI_AP_SUB_ELEM_TYPE,4,2     ## @MULTI_AP_SUB_ELEM_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_multi_ap_ie                ; -- Begin function add_multi_ap_ie
	.p2align	2
_add_multi_ap_ie:                       ; @add_multi_ap_ie
	.cfi_startproc
; %bb.0:
	cmp	x1, #9
	b.hs	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	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, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x0, x0, #8
	mov	w9, #7
	stp	w8, w9, [x20]
Lloh3:
	adrp	x8, _OUI_WFA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OUI_WFA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_WPA_PUT_BE24
Lloh6:
	adrp	x8, _MULTI_AP_OUI_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MULTI_AP_OUI_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _MULTI_AP_SUB_ELEM_TYPE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MULTI_AP_SUB_ELEM_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w8, w9, [x20, #20]
	mov	w8, #1
	stp	w8, w19, [x20, #28]
	mov	w0, #9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_WLAN_EID_VENDOR_SPECIFIC,4,2   ; @WLAN_EID_VENDOR_SPECIFIC
	.comm	_OUI_WFA,4,2                    ; @OUI_WFA
	.comm	_MULTI_AP_OUI_TYPE,4,2          ; @MULTI_AP_OUI_TYPE
	.comm	_MULTI_AP_SUB_ELEM_TYPE,4,2     ; @MULTI_AP_SUB_ELEM_TYPE
.subsections_via_symbols
