	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_mbo_send_wnm_notification
_wpas_mbo_send_wnm_notification:        ## @wpas_mbo_send_wnm_notification
	.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
	movq	(%rdi), %rax
	movq	_WPA_COMPLETED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	_MBO_IE_VENDOR_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpa_bss_get_vendor_ie
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	leal	4(%r15), %edi
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r14
	movq	_WLAN_ACTION_WNM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpabuf_put_u8
	movq	_WNM_NOTIFICATION_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpabuf_put_u8
	movl	20(%rbx), %eax
	incl	%eax
	movl	$1, %esi
	cmovnel	%eax, %esi
	movl	%esi, 20(%rbx)
	movq	%r14, %rdi
	callq	_wpabuf_put_u8
	movq	_WLAN_EID_VENDOR_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpabuf_put_u8
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_wpabuf_put_data
	movl	16(%rbx), %r15d
	movl	8(%rbx), %r12d
	movl	12(%rbx), %r13d
	movq	%r14, %rdi
	callq	_wpabuf_head
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_wpabuf_len
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	pushq	$0
	pushq	%rax
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_wpa_drv_send_action
	addq	$32, %rsp
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpabuf_free                    ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_COMPLETED,8,3              ## @WPA_COMPLETED
	.comm	_MBO_IE_VENDOR_TYPE,4,2         ## @MBO_IE_VENDOR_TYPE
	.comm	_WLAN_ACTION_WNM,4,2            ## @WLAN_ACTION_WNM
	.comm	_WNM_NOTIFICATION_REQ,4,2       ## @WNM_NOTIFICATION_REQ
	.comm	_WLAN_EID_VENDOR_SPECIFIC,4,2   ## @WLAN_EID_VENDOR_SPECIFIC
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to send WNM-Notification Request frame with non-preferred channel list"

	.no_dead_strip	_wpas_mbo_send_wnm_notification
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_mbo_send_wnm_notification
_wpas_mbo_send_wnm_notification:        ; @wpas_mbo_send_wnm_notification
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WPA_COMPLETED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPA_COMPLETED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #24]
	cbz	w0, LBB0_7
; %bb.2:
	mov	x21, x2
	mov	x22, x1
Lloh3:
	adrp	x8, _MBO_IE_VENDOR_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MBO_IE_VENDOR_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_wpa_bss_get_vendor_ie
	cbz	w0, LBB0_7
; %bb.3:
	add	w0, w21, #4
	bl	_wpabuf_alloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
Lloh6:
	adrp	x8, _WLAN_ACTION_WNM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WLAN_ACTION_WNM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_wpabuf_put_u8
Lloh9:
	adrp	x8, _WNM_NOTIFICATION_REQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WNM_NOTIFICATION_REQ@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpabuf_put_u8
	ldr	w8, [x19, #20]
	adds	w8, w8, #1
	csinc	w1, w8, wzr, lo
	str	w1, [x19, #20]
	mov	x0, x20
	bl	_wpabuf_put_u8
Lloh12:
	adrp	x8, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpabuf_put_u8
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_wpabuf_put_data
	ldp	w23, w21, [x19, #12]
	ldr	w22, [x19, #8]
	mov	x0, x20
	bl	_wpabuf_head
	mov	x24, x0
	mov	x0, x20
	bl	_wpabuf_len
	mov	x7, x0
	str	wzr, [sp]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	x3, x22
	mov	x4, x23
	mov	x5, x22
	mov	x6, x24
	bl	_wpa_drv_send_action
	tbz	w0, #31, LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_6:
	mov	x0, x20
	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
	add	sp, sp, #80
	b	_wpabuf_free
LBB0_7:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_COMPLETED,8,3              ; @WPA_COMPLETED
	.comm	_MBO_IE_VENDOR_TYPE,4,2         ; @MBO_IE_VENDOR_TYPE
	.comm	_WLAN_ACTION_WNM,4,2            ; @WLAN_ACTION_WNM
	.comm	_WNM_NOTIFICATION_REQ,4,2       ; @WNM_NOTIFICATION_REQ
	.comm	_WLAN_EID_VENDOR_SPECIFIC,4,2   ; @WLAN_EID_VENDOR_SPECIFIC
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to send WNM-Notification Request frame with non-preferred channel list"

	.no_dead_strip	_wpas_mbo_send_wnm_notification
.subsections_via_symbols
