	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_extra_ies
_wpa_supplicant_extra_ies:              ## @wpa_supplicant_extra_ies
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	$0, -104(%rbp)
	movq	_WPA_IF_STATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpa_drv_get_ext_capa
	leaq	-96(%rbp), %rsi
	movq	%r14, %rdi
	movl	$72, %edx
	callq	_wpas_build_ext_capab
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	leaq	-104(%rbp), %rdi
	movl	%eax, %esi
	callq	_wpabuf_resize
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	-104(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	movl	%ebx, %edx
	callq	_wpabuf_put_data
LBB0_3:
	movq	16(%r14), %rax
	movq	_VENDOR_ELEM_PROBE_REQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_wpabuf_len
	leaq	-104(%rbp), %rdi
	movl	%eax, %esi
	callq	_wpabuf_resize
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	-104(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_wpabuf_put_buf
LBB0_6:
	movq	-104(%rbp), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_IF_STATION,4,2             ## @WPA_IF_STATION
	.comm	_VENDOR_ELEM_PROBE_REQ,8,3      ## @VENDOR_ELEM_PROBE_REQ
	.comm	_DEV_PW_DEFAULT,4,2             ## @DEV_PW_DEFAULT
	.comm	_DEV_PW_PUSHBUTTON,4,2          ## @DEV_PW_PUSHBUTTON
	.comm	_OCE_STA,4,2                    ## @OCE_STA
	.comm	_P2P_GROUP_INTERFACE_CLIENT,8,3 ## @P2P_GROUP_INTERFACE_CLIENT
	.comm	_WPA_IF_P2P_CLIENT,4,2          ## @WPA_IF_P2P_CLIENT
	.comm	_WPS_REQ_ENROLLEE_INFO,4,2      ## @WPS_REQ_ENROLLEE_INFO
	.no_dead_strip	_wpa_supplicant_extra_ies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_supplicant_extra_ies
_wpa_supplicant_extra_ies:              ; @wpa_supplicant_extra_ies
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _WPA_IF_STATION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WPA_IF_STATION@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_wpa_drv_get_ext_capa
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #72
	bl	_wpas_build_ext_capab
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x0
	add	x0, sp, #8
	mov	x1, x20
	bl	_wpabuf_resize
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x0, [sp, #8]
	add	x1, sp, #16
	mov	x2, x20
	bl	_wpabuf_put_data
LBB0_3:
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x9, _VENDOR_ELEM_PROBE_REQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VENDOR_ELEM_PROBE_REQ@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x19, [x8, x9, lsl #3]
	cbz	x19, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_wpabuf_len
	mov	x1, x0
	add	x0, sp, #8
	bl	_wpabuf_resize
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_wpabuf_put_buf
LBB0_6:
	ldr	x0, [sp, #8]
	ldur	x8, [x29, #-24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_IF_STATION,4,2             ; @WPA_IF_STATION
	.comm	_VENDOR_ELEM_PROBE_REQ,8,3      ; @VENDOR_ELEM_PROBE_REQ
	.comm	_DEV_PW_DEFAULT,4,2             ; @DEV_PW_DEFAULT
	.comm	_DEV_PW_PUSHBUTTON,4,2          ; @DEV_PW_PUSHBUTTON
	.comm	_OCE_STA,4,2                    ; @OCE_STA
	.comm	_P2P_GROUP_INTERFACE_CLIENT,8,3 ; @P2P_GROUP_INTERFACE_CLIENT
	.comm	_WPA_IF_P2P_CLIENT,4,2          ; @WPA_IF_P2P_CLIENT
	.comm	_WPS_REQ_ENROLLEE_INFO,4,2      ; @WPS_REQ_ENROLLEE_INFO
	.no_dead_strip	_wpa_supplicant_extra_ies
.subsections_via_symbols
