	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_htt_connect             ## -- Begin function ath10k_htt_connect
	.p2align	4, 0x90
_ath10k_htt_connect:                    ## @ath10k_htt_connect
	.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	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_ath10k_htt_htc_tx_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_ath10k_htt_htc_t2h_msg_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_ATH10K_HTC_SVC_ID_HTT_DATA_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	8(%rbx), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_ath10k_htc_connect_service
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-56(%rbp), %ecx
	movl	%ecx, (%rbx)
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ath10k_htt_htc_tx_complete,4,2 ## @ath10k_htt_htc_tx_complete
	.comm	_ath10k_htt_htc_t2h_msg_handler,4,2 ## @ath10k_htt_htc_t2h_msg_handler
	.comm	_ATH10K_HTC_SVC_ID_HTT_DATA_MSG,4,2 ## @ATH10K_HTC_SVC_ID_HTT_DATA_MSG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_htt_connect             ; -- Begin function ath10k_htt_connect
	.p2align	2
_ath10k_htt_connect:                    ; @ath10k_htt_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _ath10k_htt_htc_tx_complete@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ath10k_htt_htc_tx_complete@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #28]
Lloh3:
	adrp	x8, _ath10k_htt_htc_t2h_msg_handler@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ath10k_htt_htc_t2h_msg_handler@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ATH10K_HTC_SVC_ID_HTT_DATA_MSG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATH10K_HTC_SVC_ID_HTT_DATA_MSG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #20]
	ldr	x0, [x19, #8]
	add	x1, sp, #16
	mov	x2, sp
	bl	_ath10k_htc_connect_service
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ath10k_htt_htc_tx_complete,4,2 ; @ath10k_htt_htc_tx_complete
	.comm	_ath10k_htt_htc_t2h_msg_handler,4,2 ; @ath10k_htt_htc_t2h_msg_handler
	.comm	_ATH10K_HTC_SVC_ID_HTT_DATA_MSG,4,2 ; @ATH10K_HTC_SVC_ID_HTT_DATA_MSG
.subsections_via_symbols
