	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2x00usb_check_usb_error
_rt2x00usb_check_usb_error:             ## @rt2x00usb_check_usb_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	movl	(%rcx), %ecx
	addl	%esi, %ecx
	je	LBB0_6
## %bb.1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%esi, %ecx
	je	LBB0_6
## %bb.2:
	movq	_EPROTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%esi, %eax
	je	LBB0_4
## %bb.3:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	jne	LBB0_5
LBB0_4:
	movl	(%rdi), %ecx
	leal	1(%rcx), %eax
	movl	%eax, (%rdi)
	xorl	%eax, %eax
	cmpl	$3, %ecx
	setge	%al
	popq	%rbp
	retq
LBB0_5:
	movl	$0, (%rdi)
	xorl	%eax, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_rt2x00usb_check_usb_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2x00usb_check_usb_error
_rt2x00usb_check_usb_error:             ; @rt2x00usb_check_usb_error
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	ret
LBB0_2:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w8, w1
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	ret
LBB0_4:
Lloh6:
	adrp	x8, _EPROTO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w8, w1
	b.eq	LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w8, w1
	b.ne	LBB0_7
LBB0_6:
	ldr	w8, [x0]
	add	w9, w8, #1
	str	w9, [x0]
	cmp	w8, #2
	cset	w0, gt
	ret
LBB0_7:
	str	wzr, [x0]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_rt2x00usb_check_usb_error
.subsections_via_symbols
