	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_session_send_action
_fst_session_send_action:               ## @fst_session_send_action
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%eax, %eax
	testq	%rsi, %rsi
	setne	%al
	movq	8(%rdi,%rax,8), %r13
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setne	%dil
	callq	_WPA_ASSERT
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_WPA_ASSERT
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rbx
	movq	_FST_ACTION_MAX_SUPPORTED@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	setbe	%dil
	callq	_WPA_ASSERT
	testq	%r13, %r13
	je	LBB0_1
## %bb.3:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	leaq	8(%r14), %r12
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_wpabuf_size
	addq	%rax, %r12
LBB0_5:
	movq	%r12, %rdi
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	_WLAN_ACTION_FST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wpabuf_put_u8
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_wpabuf_put_data
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_wpabuf_put_buf
LBB0_9:
	xorl	%eax, %eax
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	setne	%al
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14,%rax,4), %esi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_fst_iface_send_action
	movl	%eax, %ebx
	testl	%eax, %eax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %rcx
	cmovsq	%rax, %rcx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	cmovsq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_fst_action_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rax,%rsi,4), %r8d
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_fst_printf_siface
	movq	%r15, %rdi
	callq	_wpabuf_free
	jmp	LBB0_10
LBB0_1:
	testq	%r12, %r12
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rdx, %rcx
	movl	(%rax), %esi
	movq	_fst_action_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	jmp	LBB0_2
LBB0_6:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_fst_action_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %r8d
	leaq	L_.str.3(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rcx
LBB0_2:
	xorl	%eax, %eax
	callq	_fst_printf_session
	movl	$-1, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FST_ACTION_MAX_SUPPORTED,8,3   ## @FST_ACTION_MAX_SUPPORTED
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no %s interface for FST Action '%s' sending"

L_.str.1:                               ## @.str.1
	.asciz	"old"

L_.str.2:                               ## @.str.2
	.asciz	"new"

	.comm	_fst_action_names,8,3           ## @fst_action_names
L_.str.3:                               ## @.str.3
	.asciz	"cannot allocate buffer of %zu bytes for FST Action '%s' sending"

	.comm	_WLAN_ACTION_FST,4,2            ## @WLAN_ACTION_FST
L_.str.4:                               ## @.str.4
	.asciz	"failed to send FST Action '%s'"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.5:                               ## @.str.5
	.asciz	"FST Action '%s' sent"

	.no_dead_strip	_fst_session_send_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_session_send_action
_fst_session_send_action:               ; @fst_session_send_action
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
	mov	w8, #16
	mov	w9, #8
	cmp	x1, #0
	csel	x8, x9, x8, eq
	ldr	x20, [x0, x8]
	cmp	x2, #0
	cset	w0, ne
	bl	_WPA_ASSERT
	cmp	x23, #0
	cset	w0, ne
	bl	_WPA_ASSERT
	ldr	x27, [x24]
Lloh0:
	adrp	x8, _FST_ACTION_MAX_SUPPORTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FST_ACTION_MAX_SUPPORTED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x27, x8
	cset	w0, ls
	bl	_WPA_ASSERT
	cbz	x20, LBB0_7
; %bb.1:
	add	x26, x23, #8
	cbz	x22, LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_wpabuf_size
	add	x26, x0, x26
LBB0_3:
	mov	x0, x26
	bl	_wpabuf_alloc
	cbz	x0, LBB0_8
; %bb.4:
	mov	x25, x0
Lloh3:
	adrp	x8, _WLAN_ACTION_FST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_ACTION_FST@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_wpabuf_put_u8
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	bl	_wpabuf_put_data
	cbz	x22, LBB0_6
; %bb.5:
	mov	x0, x25
	mov	x1, x22
	bl	_wpabuf_put_buf
LBB0_6:
	cmp	x21, #0
	cset	w8, ne
	ldr	w1, [x19, w8, uxtw #2]
	mov	x0, x20
	mov	x2, x25
	bl	_fst_iface_send_action
	mov	x21, x0
Lloh6:
	adrp	x8, l_.str.5@PAGE
Lloh7:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh8:
	adrp	x9, l_.str.4@PAGE
Lloh9:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	w0, #0
	csel	x3, x9, x8, lt
Lloh10:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh12:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
	csel	x8, x8, x9, lt
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _fst_action_names@GOTPAGE
Lloh15:
	ldr	x8, [x8, _fst_action_names@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w4, [x8, x27, lsl #2]
	mov	x0, x19
	mov	x1, x20
	bl	_fst_printf_siface
	mov	x0, x25
	bl	_wpabuf_free
	b	LBB0_10
LBB0_7:
Lloh17:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, l_.str.1@PAGE
Lloh21:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh22:
	adrp	x9, l_.str.2@PAGE
Lloh23:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x21, #0
	csel	x8, x9, x8, eq
Lloh24:
	adrp	x9, _fst_action_names@GOTPAGE
Lloh25:
	ldr	x9, [x9, _fst_action_names@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	w9, [x9, x27, lsl #2]
	stp	x8, x9, [sp]
Lloh27:
	adrp	x2, l_.str@PAGE
Lloh28:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh29:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x8, _fst_action_names@GOTPAGE
Lloh33:
	ldr	x8, [x8, _fst_action_names@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	ldr	w8, [x8, x27, lsl #2]
	stp	x26, x8, [sp]
Lloh35:
	adrp	x2, l_.str.3@PAGE
Lloh36:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_9:
	mov	x0, x19
	bl	_fst_printf_session
	mov	w21, #-1
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_FST_ACTION_MAX_SUPPORTED,8,3   ; @FST_ACTION_MAX_SUPPORTED
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no %s interface for FST Action '%s' sending"

l_.str.1:                               ; @.str.1
	.asciz	"old"

l_.str.2:                               ; @.str.2
	.asciz	"new"

	.comm	_fst_action_names,8,3           ; @fst_action_names
l_.str.3:                               ; @.str.3
	.asciz	"cannot allocate buffer of %zu bytes for FST Action '%s' sending"

	.comm	_WLAN_ACTION_FST,4,2            ; @WLAN_ACTION_FST
l_.str.4:                               ; @.str.4
	.asciz	"failed to send FST Action '%s'"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.5:                               ; @.str.5
	.asciz	"FST Action '%s' sent"

	.no_dead_strip	_fst_session_send_action
.subsections_via_symbols
