	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htc_pktlog_connect
_ath10k_htc_pktlog_connect:             ## @ath10k_htc_pktlog_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	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	$0, -32(%rbp)
	movq	_ath10k_htc_pktlog_process_rx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	$0, -48(%rbp)
	movq	_ATH10K_HTC_SVC_ID_HTT_LOG_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ath10k_htc_connect_service
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_ath10k_warn
LBB0_2:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ath10k_htc_pktlog_process_rx,4,2 ## @ath10k_htc_pktlog_process_rx
	.comm	_ATH10K_HTC_SVC_ID_HTT_LOG_MSG,4,2 ## @ATH10K_HTC_SVC_ID_HTT_LOG_MSG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to connect to PKTLOG service: %d\n"

	.no_dead_strip	_ath10k_htc_pktlog_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_htc_pktlog_connect
_ath10k_htc_pktlog_connect:             ; @ath10k_htc_pktlog_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _ath10k_htc_pktlog_process_rx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ath10k_htc_pktlog_process_rx@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _ATH10K_HTC_SVC_ID_HTT_LOG_MSG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_HTC_SVC_ID_HTT_LOG_MSG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x1, sp
	add	x2, sp, #32
	mov	x0, x19
	bl	_ath10k_htc_connect_service
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ath10k_warn
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ath10k_htc_pktlog_process_rx,4,2 ; @ath10k_htc_pktlog_process_rx
	.comm	_ATH10K_HTC_SVC_ID_HTT_LOG_MSG,4,2 ; @ATH10K_HTC_SVC_ID_HTT_LOG_MSG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to connect to PKTLOG service: %d\n"

	.no_dead_strip	_ath10k_htc_pktlog_connect
.subsections_via_symbols
