	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_build_probe_req_ie         ## -- Begin function wps_build_probe_req_ie
	.p2align	4, 0x90
_wps_build_probe_req_ie:                ## @wps_build_probe_req_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_wps_build_version
	testq	%rax, %rax
	jne	LBB0_17
## %bb.2:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_wps_build_req_type
	testq	%rax, %rax
	jne	LBB0_17
## %bb.3:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_wps_build_config_methods
	testq	%rax, %rax
	jne	LBB0_17
## %bb.4:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_wps_build_uuid_e
	testq	%rax, %rax
	jne	LBB0_17
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wps_build_primary_dev_type
	testq	%rax, %rax
	jne	LBB0_17
## %bb.6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_wps_build_rf_bands
	testq	%rax, %rax
	jne	LBB0_17
## %bb.7:
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_wps_build_assoc_state
	testq	%rax, %rax
	jne	LBB0_17
## %bb.8:
	movq	_WPS_CFG_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wps_build_config_error
	testq	%rax, %rax
	jne	LBB0_17
## %bb.9:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_wps_build_dev_password_id
	testq	%rax, %rax
	jne	LBB0_17
## %bb.10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wps_build_manufacturer
	testq	%rax, %rax
	jne	LBB0_17
## %bb.11:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wps_build_model_name
	testq	%rax, %rax
	jne	LBB0_17
## %bb.12:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wps_build_model_number
	testq	%rax, %rax
	jne	LBB0_17
## %bb.13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wps_build_dev_name
	testq	%rax, %rax
	jne	LBB0_17
## %bb.14:
	movq	_WPS_REQ_ENROLLEE@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	cmpl	%r13d, (%rax)
	sete	%sil
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wps_build_wfa_ext
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_wps_build_req_dev_type
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wps_build_secondary_dev_type
	testq	%rax, %rax
	je	LBB0_19
LBB0_17:
	movq	%rbx, %rdi
	callq	_wpabuf_free
LBB0_18:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wps_ie_encapsulate             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS: Building WPS IE for Probe Request"

	.comm	_WPS_CFG_NO_ERROR,4,2           ## @WPS_CFG_NO_ERROR
	.comm	_WPS_REQ_ENROLLEE,4,2           ## @WPS_REQ_ENROLLEE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_build_probe_req_ie         ; -- Begin function wps_build_probe_req_ie
	.p2align	2
_wps_build_probe_req_ie:                ; @wps_build_probe_req_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, x5
	mov	x22, x4
	mov	x23, x3
	mov	x25, x2
	mov	x19, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #500
	bl	_wpabuf_alloc
	cbz	x0, LBB0_18
; %bb.1:
	mov	x21, x0
	bl	_wps_build_version
	cbnz	x0, LBB0_17
; %bb.2:
	mov	x0, x21
	mov	x1, x23
	bl	_wps_build_req_type
	cbnz	x0, LBB0_17
; %bb.3:
	ldr	w1, [x19]
	mov	x0, x21
	bl	_wps_build_config_methods
	cbnz	x0, LBB0_17
; %bb.4:
	mov	x0, x21
	mov	x1, x25
	bl	_wps_build_uuid_e
	cbnz	x0, LBB0_17
; %bb.5:
	mov	x0, x19
	mov	x1, x21
	bl	_wps_build_primary_dev_type
	cbnz	x0, LBB0_17
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_wps_build_rf_bands
	cbnz	x0, LBB0_17
; %bb.7:
	mov	x1, x21
	bl	_wps_build_assoc_state
	cbnz	x0, LBB0_17
; %bb.8:
Lloh5:
	adrp	x8, _WPS_CFG_NO_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WPS_CFG_NO_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wps_build_config_error
	cbnz	x0, LBB0_17
; %bb.9:
	mov	x0, x21
	mov	x1, x24
	bl	_wps_build_dev_password_id
	cbnz	x0, LBB0_17
; %bb.10:
	mov	x0, x19
	mov	x1, x21
	bl	_wps_build_manufacturer
	cbnz	x0, LBB0_17
; %bb.11:
	mov	x0, x19
	mov	x1, x21
	bl	_wps_build_model_name
	cbnz	x0, LBB0_17
; %bb.12:
	mov	x0, x19
	mov	x1, x21
	bl	_wps_build_model_number
	cbnz	x0, LBB0_17
; %bb.13:
	mov	x0, x19
	mov	x1, x21
	bl	_wps_build_dev_name
	cbnz	x0, LBB0_17
; %bb.14:
Lloh8:
	adrp	x8, _WPS_REQ_ENROLLEE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WPS_REQ_ENROLLEE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w23
	cset	w1, eq
	mov	x0, x21
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_wps_build_wfa_ext
	cbnz	x0, LBB0_17
; %bb.15:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_wps_build_req_dev_type
	cbnz	x0, LBB0_17
; %bb.16:
	mov	x0, x19
	mov	x1, x21
	bl	_wps_build_secondary_dev_type
	cbz	x0, LBB0_19
LBB0_17:
	mov	x0, x21
	bl	_wpabuf_free
LBB0_18:
	mov	x0, #0
	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
LBB0_19:
	mov	x0, x21
	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	_wps_ie_encapsulate
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS: Building WPS IE for Probe Request"

	.comm	_WPS_CFG_NO_ERROR,4,2           ; @WPS_CFG_NO_ERROR
	.comm	_WPS_REQ_ENROLLEE,4,2           ; @WPS_REQ_ENROLLEE
.subsections_via_symbols
