	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wfc_client_ipc_use_keep_alive  ## -- Begin function wfc_client_ipc_use_keep_alive
	.p2align	4, 0x90
_wfc_client_ipc_use_keep_alive:         ## @wfc_client_ipc_use_keep_alive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_wfc_client_ipc@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_vcos_mutex_lock
	movl	8(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%rbx)
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	callq	_vchiq_use_service
LBB0_2:
	movq	_wfc_client_ipc@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_vcos_mutex_unlock              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wfc_client_ipc,12,2            ## @wfc_client_ipc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wfc_client_ipc_use_keep_alive  ; -- Begin function wfc_client_ipc_use_keep_alive
	.p2align	2
_wfc_client_ipc_use_keep_alive:         ; @wfc_client_ipc_use_keep_alive
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _wfc_client_ipc@GOTPAGE
Lloh1:
	ldr	x19, [x19, _wfc_client_ipc@GOTPAGEOFF]
	mov	x0, x19
	bl	_vcos_mutex_lock
	ldr	w8, [x19, #8]
	add	w9, w8, #1
	str	w9, [x19, #8]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_vchiq_use_service
LBB0_2:
Lloh2:
	adrp	x0, _wfc_client_ipc@GOTPAGE
Lloh3:
	ldr	x0, [x0, _wfc_client_ipc@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vcos_mutex_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_wfc_client_ipc,12,2            ; @wfc_client_ipc
.subsections_via_symbols
