	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ezusb_request_timerfn
_ezusb_request_timerfn:                 ## @ezusb_request_timerfn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	movq	_URB_ASYNC_UNLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rdi
	orl	%eax, 8(%rdi)
	callq	_usb_unlink_urb
	movq	_EINPROGRESS@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_EZUSB_CTX_REQ_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_EZUSB_CTX_RESP_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_refcount_inc
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	callq	_ezusb_ctx_complete
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ezusb_request_context_put      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_timer,4,2                      ## @timer
	.comm	_URB_ASYNC_UNLINK,4,2           ## @URB_ASYNC_UNLINK
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.comm	_EZUSB_CTX_REQ_TIMEOUT,4,2      ## @EZUSB_CTX_REQ_TIMEOUT
	.comm	_EZUSB_CTX_RESP_TIMEOUT,4,2     ## @EZUSB_CTX_RESP_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't unlink\n"

	.comm	_ctx,8,3                        ## @ctx
	.no_dead_strip	_ezusb_request_timerfn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ezusb_request_timerfn
_ezusb_request_timerfn:                 ; @ezusb_request_timerfn
	.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
Lloh0:
	adrp	x8, _timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
Lloh3:
	adrp	x8, _URB_ASYNC_UNLINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _URB_ASYNC_UNLINK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x0, [x0, #8]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
	bl	_usb_unlink_urb
Lloh6:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _EZUSB_CTX_REQ_TIMEOUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EZUSB_CTX_REQ_TIMEOUT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh12:
	adrp	x8, _EZUSB_CTX_RESP_TIMEOUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EZUSB_CTX_RESP_TIMEOUT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	add	x0, x19, #4
	bl	_refcount_inc
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_ezusb_ctx_complete
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ezusb_request_context_put
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_timer,4,2                      ; @timer
	.comm	_URB_ASYNC_UNLINK,4,2           ; @URB_ASYNC_UNLINK
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.comm	_EZUSB_CTX_REQ_TIMEOUT,4,2      ; @EZUSB_CTX_REQ_TIMEOUT
	.comm	_EZUSB_CTX_RESP_TIMEOUT,4,2     ; @EZUSB_CTX_RESP_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't unlink\n"

	.comm	_ctx,8,3                        ; @ctx
	.no_dead_strip	_ezusb_request_timerfn
.subsections_via_symbols
