	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ps2_host_recv                  ## -- Begin function ps2_host_recv
	.p2align	4, 0x90
_ps2_host_recv:                         ## @ps2_host_recv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_pbuf_has_data
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_PS2_ERR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ps2_error@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_pbuf_dequeue                   ## TAILCALL
LBB0_1:
	movq	_PS2_ERR_NODATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ps2_error@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PS2_ERR_NONE,4,2               ## @PS2_ERR_NONE
	.comm	_ps2_error,4,2                  ## @ps2_error
	.comm	_PS2_ERR_NODATA,4,2             ## @PS2_ERR_NODATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ps2_host_recv                  ; -- Begin function ps2_host_recv
	.p2align	2
_ps2_host_recv:                         ; @ps2_host_recv
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_pbuf_has_data
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PS2_ERR_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PS2_ERR_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ps2_error@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ps2_error@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_pbuf_dequeue
LBB0_2:
Lloh6:
	adrp	x8, _PS2_ERR_NODATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PS2_ERR_NODATA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ps2_error@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ps2_error@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PS2_ERR_NONE,4,2               ; @PS2_ERR_NONE
	.comm	_ps2_error,4,2                  ; @ps2_error
	.comm	_PS2_ERR_NODATA,4,2             ; @PS2_ERR_NODATA
.subsections_via_symbols
