	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb_handle_events_timeout_completed ## -- Begin function libusb_handle_events_timeout_completed
	.p2align	4, 0x90
_libusb_handle_events_timeout_completed: ## @libusb_handle_events_timeout_completed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	callq	_GET_CONTEXT
	movq	%rax, %r12
	movq	_LIBUSB_DEBUG_FUNCTION@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	callq	_DPRINTF
	movq	%r12, %rdi
	callq	_libusb_lock_events
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	cmpl	$0, (%r15)
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_libusb_handle_events_locked
	movl	%eax, %ebx
	movl	(%r15), %eax
	orl	%ebx, %eax
	je	LBB0_2
	jmp	LBB0_3
LBB0_4:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_libusb_handle_events_locked
	movl	%eax, %ebx
LBB0_3:
	movq	%r12, %rdi
	callq	_libusb_unlock_events
	movl	(%r13), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	callq	_DPRINTF
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIBUSB_DEBUG_FUNCTION,4,2      ## @LIBUSB_DEBUG_FUNCTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"libusb_handle_events_timeout_completed enter"

L_.str.1:                               ## @.str.1
	.asciz	"libusb_handle_events_timeout_completed exit"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb_handle_events_timeout_completed ; -- Begin function libusb_handle_events_timeout_completed
	.p2align	2
_libusb_handle_events_timeout_completed: ; @libusb_handle_events_timeout_completed
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	bl	_GET_CONTEXT
	mov	x19, x0
Lloh0:
	adrp	x23, _LIBUSB_DEBUG_FUNCTION@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LIBUSB_DEBUG_FUNCTION@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_DPRINTF
	mov	x0, x19
	bl	_libusb_lock_events
	cbz	x21, LBB0_4
; %bb.1:
	ldr	w8, [x21]
	cbz	w8, LBB0_3
; %bb.2:
	mov	w22, #0
	b	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_libusb_handle_events_locked
	ldr	w8, [x21]
	orr	w8, w8, w0
	cbz	w8, LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_libusb_handle_events_locked
LBB0_5:
	mov	x22, x0
LBB0_6:
	mov	x0, x19
	bl	_libusb_unlock_events
	ldr	w1, [x23]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DPRINTF
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LIBUSB_DEBUG_FUNCTION,4,2      ; @LIBUSB_DEBUG_FUNCTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"libusb_handle_events_timeout_completed enter"

l_.str.1:                               ; @.str.1
	.asciz	"libusb_handle_events_timeout_completed exit"

.subsections_via_symbols
