	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function session_respond
_session_respond:                       ## @session_respond
	.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	%rdx, %r14
	movq	%rsi, %rbx
	leaq	-56(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtoul
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_fst_session_get_by_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	movq	-56(%rbp), %r14
	leaq	L_.str.1(%rip), %r12
	cmpb	$32, (%r14)
	jne	LBB0_3
## %bb.4:
	movq	%rax, %r15
	incq	%r14
	movq	_FST_CS_PVAL_RESPONSE_ACCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_os_strcasecmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	_FST_CS_PVAL_RESPONSE_REJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_os_strcasecmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.12:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_fst_printf
LBB0_3:
	movq	%rbx, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_1:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fst_printf
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_11
LBB0_5:
	movq	_WLAN_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_WLAN_STATUS_PENDING_ADMITTING_FST_SESSION@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_fst_session_respond
	testq	%rax, %rax
	movq	%rbx, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_10
## %bb.9:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fst_printf
	jmp	LBB0_11
LBB0_10:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fst_printf
	leaq	L_.str.5(%rip), %r12
LBB0_11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_os_snprintf                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CTRL: Cannot find session %u"

L_.str.1:                               ## @.str.1
	.asciz	"FAIL\n"

	.comm	_FST_CS_PVAL_RESPONSE_ACCEPT,4,2 ## @FST_CS_PVAL_RESPONSE_ACCEPT
	.comm	_WLAN_STATUS_SUCCESS,4,2        ## @WLAN_STATUS_SUCCESS
	.comm	_FST_CS_PVAL_RESPONSE_REJECT,4,2 ## @FST_CS_PVAL_RESPONSE_REJECT
	.comm	_WLAN_STATUS_PENDING_ADMITTING_FST_SESSION,4,2 ## @WLAN_STATUS_PENDING_ADMITTING_FST_SESSION
L_.str.2:                               ## @.str.2
	.asciz	"CTRL: session %u: unknown response status: %s"

L_.str.3:                               ## @.str.3
	.asciz	"CTRL: Cannot respond to session %u"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.4:                               ## @.str.4
	.asciz	"CTRL: session %u responded"

L_.str.5:                               ## @.str.5
	.asciz	"OK\n"

	.no_dead_strip	_session_respond
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function session_respond
_session_respond:                       ; @session_respond
	.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
	mov	x19, x2
	mov	x20, x1
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtoul
	mov	x21, x0
	bl	_fst_session_get_by_id
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #32
	b.ne	LBB0_11
; %bb.2:
	mov	x22, x0
	add	x23, x8, #1
Lloh0:
	adrp	x8, _FST_CS_PVAL_RESPONSE_ACCEPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FST_CS_PVAL_RESPONSE_ACCEPT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_os_strcasecmp
	cbz	w0, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _FST_CS_PVAL_RESPONSE_REJECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FST_CS_PVAL_RESPONSE_REJECT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_os_strcasecmp
	cbz	w0, LBB0_7
; %bb.4:
Lloh6:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	str	x23, [sp]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_5:
Lloh11:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_6:
Lloh16:
	adrp	x8, _WLAN_STATUS_SUCCESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WLAN_STATUS_SUCCESS@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh18:
	adrp	x8, _WLAN_STATUS_PENDING_ADMITTING_FST_SESSION@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WLAN_STATUS_PENDING_ADMITTING_FST_SESSION@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_fst_session_respond
	cbz	x0, LBB0_13
; %bb.9:
Lloh20:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_10:
	mov	x2, x21
	bl	_fst_printf
LBB0_11:
Lloh25:
	adrp	x2, l_.str.1@PAGE
Lloh26:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_12:
	mov	x0, x20
	mov	x1, x19
	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	_os_snprintf
LBB0_13:
Lloh27:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x21
	bl	_fst_printf
Lloh32:
	adrp	x2, l_.str.5@PAGE
Lloh33:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CTRL: Cannot find session %u"

l_.str.1:                               ; @.str.1
	.asciz	"FAIL\n"

	.comm	_FST_CS_PVAL_RESPONSE_ACCEPT,4,2 ; @FST_CS_PVAL_RESPONSE_ACCEPT
	.comm	_WLAN_STATUS_SUCCESS,4,2        ; @WLAN_STATUS_SUCCESS
	.comm	_FST_CS_PVAL_RESPONSE_REJECT,4,2 ; @FST_CS_PVAL_RESPONSE_REJECT
	.comm	_WLAN_STATUS_PENDING_ADMITTING_FST_SESSION,4,2 ; @WLAN_STATUS_PENDING_ADMITTING_FST_SESSION
l_.str.2:                               ; @.str.2
	.asciz	"CTRL: session %u: unknown response status: %s"

l_.str.3:                               ; @.str.3
	.asciz	"CTRL: Cannot respond to session %u"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.4:                               ; @.str.4
	.asciz	"CTRL: session %u responded"

l_.str.5:                               ; @.str.5
	.asciz	"OK\n"

	.no_dead_strip	_session_respond
.subsections_via_symbols
