	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wifi_display_update_wfd_ie
_wifi_display_update_wfd_ie:            ## @wifi_display_update_wfd_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
	cmpq	$0, (%rdi)
	je	LBB0_33
## %bb.1:
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	cmpl	$0, 16(%rbx)
	je	LBB0_2
## %bb.3:
	movq	(%rbx), %rdi
	movq	8(%rbx), %rax
	movq	_WFD_SUBELEM_DEVICE_INFO@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rsi
	callq	_p2p_set_wfd_dev_info
	movq	(%rbx), %rdi
	movq	8(%rbx), %rax
	movq	_WFD_SUBELEM_R2_DEVICE_INFO@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rsi
	callq	_p2p_set_wfd_r2_dev_info
	movq	(%rbx), %rdi
	movq	8(%rbx), %rax
	movq	_WFD_SUBELEM_ASSOCIATED_BSSID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	callq	_p2p_set_wfd_assoc_bssid
	movq	(%rbx), %rdi
	movq	8(%rbx), %rax
	movq	_WFD_SUBELEM_COUPLED_SINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	callq	_p2p_set_wfd_coupled_sink_info
	movq	8(%rbx), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	callq	_wpabuf_len
	movq	%rax, %r14
	movq	8(%rbx), %rax
	jmp	LBB0_6
LBB0_2:
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	(%rbx), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_p2p_set_wfd_ie_beacon
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_ie_probe_req
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_ie_probe_resp
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_ie_assoc_req
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_ie_invitation
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_ie_prov_disc_req
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_ie_prov_disc_resp
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_ie_go_neg
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_dev_info
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_r2_dev_info
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_assoc_bssid
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_p2p_set_wfd_coupled_sink_info
	jmp	LBB0_34
LBB0_4:
	xorl	%r14d, %r14d
LBB0_6:
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_wpabuf_len
	addq	%rax, %r14
	movq	8(%rbx), %rax
LBB0_8:
	movq	_WFD_SUBELEM_ASSOCIATED_BSSID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_wpabuf_len
	addq	%rax, %r14
	movq	8(%rbx), %rax
LBB0_10:
	movq	_WFD_SUBELEM_COUPLED_SINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_wpabuf_len
	addq	%rax, %r14
	movq	8(%rbx), %rax
LBB0_12:
	movq	_WFD_SUBELEM_SESSION_INFO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	callq	_wpabuf_len
	addq	%rax, %r14
	movq	8(%rbx), %rax
LBB0_14:
	movq	_WFD_SUBELEM_EXT_CAPAB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_wpabuf_len
	addq	%rax, %r14
LBB0_16:
	movq	%r14, %rdi
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, %r14
	movq	8(%rbx), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	callq	_wpabuf_put_buf
	movq	8(%rbx), %rax
LBB0_20:
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.21:
	movq	%r14, %rdi
	callq	_wpabuf_put_buf
	movq	8(%rbx), %rax
LBB0_22:
	movq	_WFD_SUBELEM_ASSOCIATED_BSSID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.23:
	movq	%r14, %rdi
	callq	_wpabuf_put_buf
	movq	8(%rbx), %rax
LBB0_24:
	movq	_WFD_SUBELEM_COUPLED_SINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.25:
	movq	%r14, %rdi
	callq	_wpabuf_put_buf
LBB0_26:
	movq	%r14, %rdi
	callq	_wifi_display_encaps
	movq	%rax, %r15
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_buf
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_p2p_set_wfd_ie_beacon
	movq	%r14, %rdi
	callq	_wifi_display_encaps
	movq	%rax, %r15
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_buf
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_p2p_set_wfd_ie_assoc_req
	movq	%r14, %rdi
	callq	_wifi_display_encaps
	movq	%rax, %r15
	movl	(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_buf
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_p2p_set_wfd_ie_go_neg
	movq	%r14, %rdi
	callq	_wifi_display_encaps
	movq	%rax, %r15
	movl	(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_buf
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_p2p_set_wfd_ie_prov_disc_req
	movq	(%r14), %r13
	movq	8(%rbx), %rax
	movq	_WFD_SUBELEM_EXT_CAPAB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.27:
	movq	%r14, %rdi
	callq	_wpabuf_put_buf
LBB0_28:
	movq	%r14, %rdi
	callq	_wifi_display_encaps
	movq	%rax, %r15
	movl	(%r12), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_buf
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_p2p_set_wfd_ie_probe_req
	movq	8(%rbx), %rax
	movq	_WFD_SUBELEM_SESSION_INFO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.29:
	movq	%r14, %rdi
	callq	_wpabuf_put_buf
LBB0_30:
	movq	%r14, %rdi
	callq	_wifi_display_encaps
	movq	%rax, %r15
	movl	(%r12), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_buf
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_p2p_set_wfd_ie_probe_resp
	movq	%r13, (%r14)
	movq	8(%rbx), %rax
	movq	_WFD_SUBELEM_SESSION_INFO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_32
## %bb.31:
	movq	%r14, %rdi
	callq	_wpabuf_put_buf
LBB0_32:
	movq	%r14, %rdi
	callq	_wifi_display_encaps
	movq	%rax, %r15
	movl	(%r12), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_buf
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_p2p_set_wfd_ie_invitation
	movq	%r14, %rdi
	callq	_wifi_display_encaps
	movq	%rax, %r15
	movl	(%r12), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_buf
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_p2p_set_wfd_ie_prov_disc_resp
	movq	%r14, %rdi
	callq	_wpabuf_free
LBB0_33:
	xorl	%r14d, %r14d
	jmp	LBB0_34
LBB0_17:
	movl	$-1, %r14d
LBB0_34:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WFD: Update WFD IE"

L_.str.1:                               ## @.str.1
	.asciz	"WFD: Wi-Fi Display disabled - do not include WFD IE"

	.comm	_WFD_SUBELEM_DEVICE_INFO,8,3    ## @WFD_SUBELEM_DEVICE_INFO
	.comm	_WFD_SUBELEM_R2_DEVICE_INFO,8,3 ## @WFD_SUBELEM_R2_DEVICE_INFO
	.comm	_WFD_SUBELEM_ASSOCIATED_BSSID,8,3 ## @WFD_SUBELEM_ASSOCIATED_BSSID
	.comm	_WFD_SUBELEM_COUPLED_SINK,8,3   ## @WFD_SUBELEM_COUPLED_SINK
	.comm	_WFD_SUBELEM_SESSION_INFO,8,3   ## @WFD_SUBELEM_SESSION_INFO
	.comm	_WFD_SUBELEM_EXT_CAPAB,8,3      ## @WFD_SUBELEM_EXT_CAPAB
L_.str.2:                               ## @.str.2
	.asciz	"WFD: WFD IE for Beacon"

L_.str.3:                               ## @.str.3
	.asciz	"WFD: WFD IE for (Re)Association Request"

L_.str.4:                               ## @.str.4
	.asciz	"WFD: WFD IE for GO Negotiation"

L_.str.5:                               ## @.str.5
	.asciz	"WFD: WFD IE for Provision Discovery Request"

L_.str.6:                               ## @.str.6
	.asciz	"WFD: WFD IE for Probe Request"

L_.str.7:                               ## @.str.7
	.asciz	"WFD: WFD IE for Probe Response"

L_.str.8:                               ## @.str.8
	.asciz	"WFD: WFD IE for P2P Invitation"

L_.str.9:                               ## @.str.9
	.asciz	"WFD: WFD IE for Provision Discovery Response"

	.no_dead_strip	_wifi_display_update_wfd_ie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wifi_display_update_wfd_ie
_wifi_display_update_wfd_ie:            ; @wifi_display_update_wfd_ie
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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]
	cbz	x8, LBB0_32
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_4
; %bb.2:
	ldp	x0, x8, [x19]
Lloh4:
	adrp	x26, _WFD_SUBELEM_DEVICE_INFO@GOTPAGE
Lloh5:
	ldr	x26, [x26, _WFD_SUBELEM_DEVICE_INFO@GOTPAGEOFF]
	ldr	x9, [x26]
	ldr	x1, [x8, x9, lsl #3]
	bl	_p2p_set_wfd_dev_info
	ldp	x0, x8, [x19]
Lloh6:
	adrp	x25, _WFD_SUBELEM_R2_DEVICE_INFO@GOTPAGE
Lloh7:
	ldr	x25, [x25, _WFD_SUBELEM_R2_DEVICE_INFO@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	x1, [x8, x9, lsl #3]
	bl	_p2p_set_wfd_r2_dev_info
	ldp	x0, x8, [x19]
Lloh8:
	adrp	x24, _WFD_SUBELEM_ASSOCIATED_BSSID@GOTPAGE
Lloh9:
	ldr	x24, [x24, _WFD_SUBELEM_ASSOCIATED_BSSID@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x1, [x8, x9, lsl #3]
	bl	_p2p_set_wfd_assoc_bssid
	ldp	x0, x8, [x19]
Lloh10:
	adrp	x21, _WFD_SUBELEM_COUPLED_SINK@GOTPAGE
Lloh11:
	ldr	x21, [x21, _WFD_SUBELEM_COUPLED_SINK@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x1, [x8, x9, lsl #3]
	bl	_p2p_set_wfd_coupled_sink_info
	ldr	x8, [x19, #8]
	ldr	x9, [x26]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_wpabuf_len
	mov	x20, x0
	ldr	x8, [x19, #8]
	b	LBB0_6
LBB0_4:
	ldr	w0, [x22]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_ie_beacon
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_ie_probe_req
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_ie_probe_resp
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_ie_assoc_req
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_ie_invitation
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_ie_prov_disc_req
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_ie_prov_disc_resp
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_ie_go_neg
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_dev_info
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_r2_dev_info
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_assoc_bssid
	ldr	x0, [x19]
	mov	x1, #0
	bl	_p2p_set_wfd_coupled_sink_info
	b	LBB0_32
LBB0_5:
	mov	x20, #0
LBB0_6:
	ldr	x9, [x25]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_wpabuf_len
	add	x20, x0, x20
	ldr	x8, [x19, #8]
LBB0_8:
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_wpabuf_len
	add	x20, x0, x20
	ldr	x8, [x19, #8]
LBB0_10:
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_wpabuf_len
	add	x20, x0, x20
	ldr	x8, [x19, #8]
LBB0_12:
Lloh14:
	adrp	x23, _WFD_SUBELEM_SESSION_INFO@GOTPAGE
Lloh15:
	ldr	x23, [x23, _WFD_SUBELEM_SESSION_INFO@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_14
; %bb.13:
	bl	_wpabuf_len
	add	x20, x0, x20
	ldr	x8, [x19, #8]
LBB0_14:
Lloh16:
	adrp	x27, _WFD_SUBELEM_EXT_CAPAB@GOTPAGE
Lloh17:
	ldr	x27, [x27, _WFD_SUBELEM_EXT_CAPAB@GOTPAGEOFF]
	ldr	x9, [x27]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_16
; %bb.15:
	bl	_wpabuf_len
	add	x20, x0, x20
LBB0_16:
	mov	x0, x20
	bl	_wpabuf_alloc
	cbz	x0, LBB0_34
; %bb.17:
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	x9, [x26]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_19
; %bb.18:
	mov	x0, x20
	bl	_wpabuf_put_buf
	ldr	x8, [x19, #8]
LBB0_19:
	ldr	x9, [x25]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_21
; %bb.20:
	mov	x0, x20
	bl	_wpabuf_put_buf
	ldr	x8, [x19, #8]
LBB0_21:
	ldr	x9, [x24]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_23
; %bb.22:
	mov	x0, x20
	bl	_wpabuf_put_buf
	ldr	x8, [x19, #8]
LBB0_23:
	ldr	x9, [x21]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_25
; %bb.24:
	mov	x0, x20
	bl	_wpabuf_put_buf
LBB0_25:
	mov	x0, x20
	bl	_wifi_display_encaps
	mov	x21, x0
	ldr	w0, [x22]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_buf
	ldr	x0, [x19]
	mov	x1, x21
	bl	_p2p_set_wfd_ie_beacon
	mov	x0, x20
	bl	_wifi_display_encaps
	mov	x21, x0
	ldr	w0, [x22]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_buf
	ldr	x0, [x19]
	mov	x1, x21
	bl	_p2p_set_wfd_ie_assoc_req
	mov	x0, x20
	bl	_wifi_display_encaps
	mov	x21, x0
	ldr	w0, [x22]
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_buf
	ldr	x0, [x19]
	mov	x1, x21
	bl	_p2p_set_wfd_ie_go_neg
	mov	x0, x20
	bl	_wifi_display_encaps
	mov	x21, x0
	ldr	w0, [x22]
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_buf
	ldr	x0, [x19]
	mov	x1, x21
	bl	_p2p_set_wfd_ie_prov_disc_req
	ldr	x24, [x20]
	ldr	x8, [x19, #8]
	ldr	x9, [x27]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_27
; %bb.26:
	mov	x0, x20
	bl	_wpabuf_put_buf
LBB0_27:
	mov	x0, x20
	bl	_wifi_display_encaps
	mov	x21, x0
	ldr	w0, [x22]
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_buf
	ldr	x0, [x19]
	mov	x1, x21
	bl	_p2p_set_wfd_ie_probe_req
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_29
; %bb.28:
	mov	x0, x20
	bl	_wpabuf_put_buf
LBB0_29:
	mov	x0, x20
	bl	_wifi_display_encaps
	mov	x21, x0
	ldr	w0, [x22]
Lloh28:
	adrp	x1, l_.str.7@PAGE
Lloh29:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_buf
	ldr	x0, [x19]
	mov	x1, x21
	bl	_p2p_set_wfd_ie_probe_resp
	str	x24, [x20]
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_31
; %bb.30:
	mov	x0, x20
	bl	_wpabuf_put_buf
LBB0_31:
	mov	x0, x20
	bl	_wifi_display_encaps
	mov	x21, x0
	ldr	w0, [x22]
Lloh30:
	adrp	x1, l_.str.8@PAGE
Lloh31:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_buf
	ldr	x0, [x19]
	mov	x1, x21
	bl	_p2p_set_wfd_ie_invitation
	mov	x0, x20
	bl	_wifi_display_encaps
	mov	x21, x0
	ldr	w0, [x22]
Lloh32:
	adrp	x1, l_.str.9@PAGE
Lloh33:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_buf
	ldr	x0, [x19]
	mov	x1, x21
	bl	_p2p_set_wfd_ie_prov_disc_resp
	mov	x0, x20
	bl	_wpabuf_free
LBB0_32:
	mov	w0, #0
LBB0_33:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_34:
	mov	w0, #-1
	b	LBB0_33
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WFD: Update WFD IE"

l_.str.1:                               ; @.str.1
	.asciz	"WFD: Wi-Fi Display disabled - do not include WFD IE"

	.comm	_WFD_SUBELEM_DEVICE_INFO,8,3    ; @WFD_SUBELEM_DEVICE_INFO
	.comm	_WFD_SUBELEM_R2_DEVICE_INFO,8,3 ; @WFD_SUBELEM_R2_DEVICE_INFO
	.comm	_WFD_SUBELEM_ASSOCIATED_BSSID,8,3 ; @WFD_SUBELEM_ASSOCIATED_BSSID
	.comm	_WFD_SUBELEM_COUPLED_SINK,8,3   ; @WFD_SUBELEM_COUPLED_SINK
	.comm	_WFD_SUBELEM_SESSION_INFO,8,3   ; @WFD_SUBELEM_SESSION_INFO
	.comm	_WFD_SUBELEM_EXT_CAPAB,8,3      ; @WFD_SUBELEM_EXT_CAPAB
l_.str.2:                               ; @.str.2
	.asciz	"WFD: WFD IE for Beacon"

l_.str.3:                               ; @.str.3
	.asciz	"WFD: WFD IE for (Re)Association Request"

l_.str.4:                               ; @.str.4
	.asciz	"WFD: WFD IE for GO Negotiation"

l_.str.5:                               ; @.str.5
	.asciz	"WFD: WFD IE for Provision Discovery Request"

l_.str.6:                               ; @.str.6
	.asciz	"WFD: WFD IE for Probe Request"

l_.str.7:                               ; @.str.7
	.asciz	"WFD: WFD IE for Probe Response"

l_.str.8:                               ; @.str.8
	.asciz	"WFD: WFD IE for P2P Invitation"

l_.str.9:                               ; @.str.9
	.asciz	"WFD: WFD IE for Provision Discovery Response"

	.no_dead_strip	_wifi_display_update_wfd_ie
.subsections_via_symbols
