	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mei_cl_set_connecting
_mei_cl_set_connecting:                 ## @mei_cl_set_connecting
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_mei_me_cl_get
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	cmpq	$0, 8(%rbx)
	movq	(%rbx), %rax
	je	LBB0_4
## %bb.5:
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movq	%rbx, %rdi
	callq	_mei_me_cl_put
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_4:
	incq	%rax
	jmp	LBB0_7
LBB0_6:
	movl	$1, %eax
LBB0_7:
	movq	%rbx, (%r14)
	movq	_MEI_FILE_CONNECTING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	movq	%rax, (%rbx)
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_MEI_FILE_CONNECTING,4,2        ## @MEI_FILE_CONNECTING
	.no_dead_strip	_mei_cl_set_connecting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mei_cl_set_connecting
_mei_cl_set_connecting:                 ; @mei_cl_set_connecting
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_mei_me_cl_get
	cbz	w0, LBB0_4
; %bb.1:
	ldp	x8, x9, [x19]
	cbz	x9, LBB0_6
; %bb.2:
	cbz	x8, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_mei_me_cl_put
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
	add	x8, x8, #1
	b	LBB0_8
LBB0_7:
	mov	w8, #1
LBB0_8:
	mov	w0, #0
	str	x19, [x20]
Lloh4:
	adrp	x9, _MEI_FILE_CONNECTING@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MEI_FILE_CONNECTING@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	str	w9, [x20, #8]
	str	x8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_MEI_FILE_CONNECTING,4,2        ; @MEI_FILE_CONNECTING
	.no_dead_strip	_mei_cl_set_connecting
.subsections_via_symbols
