	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_send_lci_req           ## -- Begin function hostapd_send_lci_req
	.p2align	4, 0x90
_hostapd_send_lci_req:                  ## @hostapd_send_lci_req
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_ap_get_sta
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	_WLAN_STA_AUTHORIZED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.2:
	movq	8(%rax), %rax
	movq	_WLAN_RRM_CAPS_LCI_MEASUREMENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_12
## %bb.3:
	cmpl	$0, (%r15)
	je	LBB0_5
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movl	$0, (%r15)
	movq	_hostapd_lci_rep_timeout_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
LBB0_5:
	movl	$15, %edi
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %r12
	movl	4(%r15), %eax
	incl	%eax
	movl	$1, %ecx
	cmovel	%ecx, %eax
	movl	%eax, 4(%r15)
	movq	_WLAN_ACTION_RADIO_MEASUREMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	_WLAN_RRM_RADIO_MEASUREMENT_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movl	4(%r15), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put_le16
	movq	_WLAN_EID_MEASURE_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_wpabuf_put_u8
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_wpabuf_put_u8
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put_u8
	movq	_MEASURE_TYPE_LCI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	_LOCATION_SUBJECT_REMOTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	_LCI_REQ_SUBELEM_MAX_AGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_wpabuf_put_u8
	movq	%r12, %rdi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_wpabuf_put_le16
	movq	8(%r15), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_wpabuf_head
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_wpabuf_len
	movq	%r15, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_hostapd_drv_send_action
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_wpabuf_free
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.7:
	movl	$1, (%r15)
	movq	_HOSTAPD_RRM_REQUEST_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_hostapd_lci_rep_timeout_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_8:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_9:
	callq	_wpa_printf
LBB0_10:
	movl	$-1, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STA_AUTHORIZED,4,2        ## @WLAN_STA_AUTHORIZED
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Request LCI: Destination address is not connected"

	.comm	_WLAN_RRM_CAPS_LCI_MEASUREMENT,4,2 ## @WLAN_RRM_CAPS_LCI_MEASUREMENT
L_.str.1:                               ## @.str.1
	.asciz	"Request LCI: Station does not support LCI in RRM"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"Request LCI: LCI request is already in process, overriding"

	.comm	_hostapd_lci_rep_timeout_handler,4,2 ## @hostapd_lci_rep_timeout_handler
	.comm	_WLAN_ACTION_RADIO_MEASUREMENT,4,2 ## @WLAN_ACTION_RADIO_MEASUREMENT
	.comm	_WLAN_RRM_RADIO_MEASUREMENT_REQUEST,4,2 ## @WLAN_RRM_RADIO_MEASUREMENT_REQUEST
	.comm	_WLAN_EID_MEASURE_REQUEST,4,2   ## @WLAN_EID_MEASURE_REQUEST
	.comm	_MEASURE_TYPE_LCI,4,2           ## @MEASURE_TYPE_LCI
	.comm	_LOCATION_SUBJECT_REMOTE,4,2    ## @LOCATION_SUBJECT_REMOTE
	.comm	_LCI_REQ_SUBELEM_MAX_AGE,4,2    ## @LCI_REQ_SUBELEM_MAX_AGE
	.comm	_HOSTAPD_RRM_REQUEST_TIMEOUT,4,2 ## @HOSTAPD_RRM_REQUEST_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_send_lci_req           ; -- Begin function hostapd_send_lci_req
	.p2align	2
_hostapd_send_lci_req:                  ; @hostapd_send_lci_req
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	bl	_ap_get_sta
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _WLAN_STA_AUTHORIZED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WLAN_STA_AUTHORIZED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	w8, [x8, #4]
Lloh3:
	adrp	x9, _WLAN_RRM_CAPS_LCI_MEASUREMENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WLAN_RRM_CAPS_LCI_MEASUREMENT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.3:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	str	wzr, [x19]
Lloh11:
	adrp	x8, _hostapd_lci_rep_timeout_handler@GOTPAGE
Lloh12:
	ldr	x8, [x8, _hostapd_lci_rep_timeout_handler@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
LBB0_5:
	mov	w0, #15
	bl	_wpabuf_alloc
	cbz	x0, LBB0_10
; %bb.6:
	mov	x21, x0
	ldr	w8, [x19, #4]
	adds	w8, w8, #1
	csinc	w8, w8, wzr, lo
	str	w8, [x19, #4]
Lloh14:
	adrp	x8, _WLAN_ACTION_RADIO_MEASUREMENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WLAN_ACTION_RADIO_MEASUREMENT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_wpabuf_put_u8
Lloh17:
	adrp	x8, _WLAN_RRM_RADIO_MEASUREMENT_REQUEST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WLAN_RRM_RADIO_MEASUREMENT_REQUEST@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wpabuf_put_u8
	ldr	w1, [x19, #4]
	mov	x0, x21
	bl	_wpabuf_put_u8
	mov	x0, x21
	mov	w1, #0
	bl	_wpabuf_put_le16
Lloh20:
	adrp	x8, _WLAN_EID_MEASURE_REQUEST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WLAN_EID_MEASURE_REQUEST@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wpabuf_put_u8
	mov	x0, x21
	mov	w1, #8
	bl	_wpabuf_put_u8
	mov	w24, #1
	mov	x0, x21
	mov	w1, #1
	bl	_wpabuf_put_u8
	mov	x0, x21
	mov	w1, #0
	bl	_wpabuf_put_u8
Lloh23:
	adrp	x8, _MEASURE_TYPE_LCI@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MEASURE_TYPE_LCI@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wpabuf_put_u8
Lloh26:
	adrp	x8, _LOCATION_SUBJECT_REMOTE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LOCATION_SUBJECT_REMOTE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wpabuf_put_u8
Lloh29:
	adrp	x8, _LCI_REQ_SUBELEM_MAX_AGE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _LCI_REQ_SUBELEM_MAX_AGE@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wpabuf_put_u8
	mov	x0, x21
	mov	w1, #2
	bl	_wpabuf_put_u8
	mov	x0, x21
	mov	w1, #65535
	bl	_wpabuf_put_le16
	ldr	x8, [x19, #8]
	ldr	w22, [x8]
	mov	x0, x21
	bl	_wpabuf_head
	mov	x23, x0
	mov	x0, x21
	bl	_wpabuf_len
	mov	x5, x0
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	x3, x20
	mov	x4, x23
	bl	_hostapd_drv_send_action
	mov	x20, x0
	mov	x0, x21
	bl	_wpabuf_free
	cbnz	w20, LBB0_11
; %bb.7:
	str	w24, [x19]
Lloh32:
	adrp	x8, _HOSTAPD_RRM_REQUEST_TIMEOUT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _HOSTAPD_RRM_REQUEST_TIMEOUT@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _hostapd_lci_rep_timeout_handler@GOTPAGE
Lloh36:
	ldr	x8, [x8, _hostapd_lci_rep_timeout_handler@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x19
	mov	x4, #0
	bl	_eloop_register_timeout
	b	LBB0_11
LBB0_8:
Lloh38:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str@PAGE
Lloh42:
	add	x1, x1, l_.str@PAGEOFF
LBB0_9:
	bl	_wpa_printf
LBB0_10:
	mov	w20, #-1
LBB0_11:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh43:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STA_AUTHORIZED,4,2        ; @WLAN_STA_AUTHORIZED
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Request LCI: Destination address is not connected"

	.comm	_WLAN_RRM_CAPS_LCI_MEASUREMENT,4,2 ; @WLAN_RRM_CAPS_LCI_MEASUREMENT
l_.str.1:                               ; @.str.1
	.asciz	"Request LCI: Station does not support LCI in RRM"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"Request LCI: LCI request is already in process, overriding"

	.comm	_hostapd_lci_rep_timeout_handler,4,2 ; @hostapd_lci_rep_timeout_handler
	.comm	_WLAN_ACTION_RADIO_MEASUREMENT,4,2 ; @WLAN_ACTION_RADIO_MEASUREMENT
	.comm	_WLAN_RRM_RADIO_MEASUREMENT_REQUEST,4,2 ; @WLAN_RRM_RADIO_MEASUREMENT_REQUEST
	.comm	_WLAN_EID_MEASURE_REQUEST,4,2   ; @WLAN_EID_MEASURE_REQUEST
	.comm	_MEASURE_TYPE_LCI,4,2           ; @MEASURE_TYPE_LCI
	.comm	_LOCATION_SUBJECT_REMOTE,4,2    ; @LOCATION_SUBJECT_REMOTE
	.comm	_LCI_REQ_SUBELEM_MAX_AGE,4,2    ; @LCI_REQ_SUBELEM_MAX_AGE
	.comm	_HOSTAPD_RRM_REQUEST_TIMEOUT,4,2 ; @HOSTAPD_RRM_REQUEST_TIMEOUT
.subsections_via_symbols
