	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _wil_cfg80211_set_ies
__wil_cfg80211_set_ies:                 ## @_wil_cfg80211_set_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$0, -28(%rbp)
	movl	$0, -32(%rbp)
	movq	$0, -40(%rbp)
	addq	$20, %rdi
	leaq	16(%r14), %rsi
	movq	48(%rbx), %rdx
	movl	40(%rbx), %ecx
	callq	_wil_memdup_ie
	leaq	12(%r14), %rdi
	leaq	8(%r14), %rsi
	movq	32(%rbx), %rdx
	movl	28(%rbx), %ecx
	callq	_wil_memdup_ie
	leaq	4(%r14), %rdi
	movq	16(%rbx), %rdx
	movl	24(%rbx), %ecx
	movq	%r14, %rsi
	callq	_wil_memdup_ie
	movq	48(%rbx), %rdi
	movl	40(%rbx), %esi
	leaq	-32(%rbp), %rdx
	callq	__wil_cfg80211_get_proberesp_ies
	movl	-32(%rbp), %esi
	movq	32(%rbx), %rdx
	movl	28(%rbx), %ecx
	leaq	-40(%rbp), %r8
	leaq	-28(%rbp), %r9
	movq	%rax, %rdi
	callq	__wil_cfg80211_merge_extra_ies
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_WMI_FRAME_PROBE_RESP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-28(%rbp), %edx
	movq	-40(%rbp), %rcx
	movq	%r14, %rdi
	callq	_wmi_set_ie
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	16(%rbx), %rcx
	movq	_WMI_FRAME_ASSOC_RESP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movl	24(%rbx), %edx
	jmp	LBB0_5
LBB0_4:
	movl	-28(%rbp), %edx
	movq	-40(%rbp), %rcx
LBB0_5:
	movq	%r14, %rdi
	callq	_wmi_set_ie
	movl	%eax, %r15d
LBB0_6:
	movq	-40(%rbp), %rdi
	callq	_kfree
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_FRAME_PROBE_RESP,4,2       ## @WMI_FRAME_PROBE_RESP
	.comm	_WMI_FRAME_ASSOC_RESP,4,2       ## @WMI_FRAME_ASSOC_RESP
	.comm	_WMI_FRAME_BEACON,4,2           ## @WMI_FRAME_BEACON
	.no_dead_strip	__wil_cfg80211_set_ies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _wil_cfg80211_set_ies
__wil_cfg80211_set_ies:                 ; @_wil_cfg80211_set_ies
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	stp	xzr, xzr, [sp]
	add	x0, x0, #20
	add	x1, x19, #16
	ldr	x2, [x20, #48]
	ldr	w3, [x20, #40]
	bl	_wil_memdup_ie
	add	x0, x19, #12
	add	x1, x19, #8
	ldr	x2, [x20, #32]
	ldr	w3, [x20, #28]
	bl	_wil_memdup_ie
	add	x0, x19, #4
	ldr	x2, [x20, #16]
	ldr	w3, [x20, #24]
	mov	x1, x19
	bl	_wil_memdup_ie
	ldr	x0, [x20, #48]
	ldr	w1, [x20, #40]
	add	x2, sp, #8
	bl	__wil_cfg80211_get_proberesp_ies
	ldr	w1, [sp, #8]
	ldr	x2, [x20, #32]
	ldr	w3, [x20, #28]
	mov	x4, sp
	add	x5, sp, #12
	bl	__wil_cfg80211_merge_extra_ies
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _WMI_FRAME_PROBE_RESP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_FRAME_PROBE_RESP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [sp, #12]
	ldr	x3, [sp]
	mov	x0, x19
	bl	_wmi_set_ie
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x3, [x20, #16]
Lloh3:
	adrp	x8, _WMI_FRAME_ASSOC_RESP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMI_FRAME_ASSOC_RESP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	cbz	x3, LBB0_4
; %bb.3:
	ldr	w2, [x20, #24]
	b	LBB0_5
LBB0_4:
	ldr	w2, [sp, #12]
	ldr	x3, [sp]
LBB0_5:
	mov	x0, x19
	bl	_wmi_set_ie
	mov	x21, x0
LBB0_6:
	ldr	x0, [sp]
	bl	_kfree
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_FRAME_PROBE_RESP,4,2       ; @WMI_FRAME_PROBE_RESP
	.comm	_WMI_FRAME_ASSOC_RESP,4,2       ; @WMI_FRAME_ASSOC_RESP
	.comm	_WMI_FRAME_BEACON,4,2           ; @WMI_FRAME_BEACON
	.no_dead_strip	__wil_cfg80211_set_ies
.subsections_via_symbols
