	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ezusb_req_ctx_wait
_ezusb_req_ctx_wait:                    ## @ezusb_req_ctx_wait
	.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	(%rsi), %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	xorl	%eax, %eax
	callq	_in_softirq
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	_HZ@GOTPCREL(%rip), %rcx
	movl	$1000, %eax                     ## imm = 0x3E8
	xorl	%edx, %edx
	idivl	(%rcx)
	cmpl	$0, 4(%r14)
	jne	LBB0_7
## %bb.3:
	movl	%eax, %ebx
	movq	_DEF_TIMEOUT@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.4:
	decl	%ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	subl	$1, %ebx
	setb	%al
	cmpl	$0, 4(%r14)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testb	%al, %al
	je	LBB0_5
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movl	4(%r14), %esi
	movl	8(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wait_event_interruptible       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEF_TIMEOUT,4,2                ## @DEF_TIMEOUT
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_ezusb_req_ctx_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ezusb_req_ctx_wait
_ezusb_req_ctx_wait:                    ; @ezusb_req_ctx_wait
	.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
	ldr	w8, [x1]
	and	w8, w8, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x1
	bl	_in_softirq
	cbz	w0, LBB0_7
; %bb.2:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _DEF_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEF_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _HZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #1000
	sdiv	w9, w10, w9
	mul	w8, w9, w8
	cbz	w8, LBB0_6
; %bb.4:
	sub	w20, w8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1000
	bl	_udelay
	ldr	w8, [x19, #4]
	cmp	w8, #0
	ccmp	w20, #0, #4, eq
	sub	w20, w20, #1
	b.ne	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldp	w1, w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wait_event_interruptible
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEF_TIMEOUT,4,2                ; @DEF_TIMEOUT
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_ezusb_req_ctx_wait
.subsections_via_symbols
