	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fjes_hw_get_partner_ep_status  ## -- Begin function fjes_hw_get_partner_ep_status
	.p2align	4, 0x90
_fjes_hw_get_partner_ep_status:         ## @fjes_hw_get_partner_ep_status
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_fjes_hw_epid_is_shared
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_fjes_hw_epid_is_stop_requested
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_EP_PARTNER_WAITING@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_EP_PARTNER_UNSHARE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_fjes_hw_epid_is_stop_process_done
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_EP_PARTNER_SHARED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_EP_PARTNER_COMPLETE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EP_PARTNER_WAITING,4,2         ## @EP_PARTNER_WAITING
	.comm	_EP_PARTNER_COMPLETE,4,2        ## @EP_PARTNER_COMPLETE
	.comm	_EP_PARTNER_SHARED,4,2          ## @EP_PARTNER_SHARED
	.comm	_EP_PARTNER_UNSHARE,4,2         ## @EP_PARTNER_UNSHARE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fjes_hw_get_partner_ep_status  ; -- Begin function fjes_hw_get_partner_ep_status
	.p2align	2
_fjes_hw_get_partner_ep_status:         ; @fjes_hw_get_partner_ep_status
	.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
	ldr	w0, [x0]
	bl	_fjes_hw_epid_is_shared
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_fjes_hw_epid_is_stop_requested
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _EP_PARTNER_WAITING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EP_PARTNER_WAITING@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _EP_PARTNER_UNSHARE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EP_PARTNER_UNSHARE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_fjes_hw_epid_is_stop_process_done
Lloh4:
	adrp	x8, _EP_PARTNER_COMPLETE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EP_PARTNER_COMPLETE@GOTPAGEOFF]
Lloh6:
	adrp	x9, _EP_PARTNER_SHARED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EP_PARTNER_SHARED@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_5:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EP_PARTNER_WAITING,4,2         ; @EP_PARTNER_WAITING
	.comm	_EP_PARTNER_COMPLETE,4,2        ; @EP_PARTNER_COMPLETE
	.comm	_EP_PARTNER_SHARED,4,2          ; @EP_PARTNER_SHARED
	.comm	_EP_PARTNER_UNSHARE,4,2         ; @EP_PARTNER_UNSHARE
.subsections_via_symbols
