	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb20_tr_callback_wrapper   ## -- Begin function libusb20_tr_callback_wrapper
	.p2align	4, 0x90
_libusb20_tr_callback_wrapper:          ## @libusb20_tr_callback_wrapper
	.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
	movq	_LIBUSB20_TRANSFER_START@GOTPCREL(%rip), %r14
	cmpq	$0, 24(%rdi)
	je	LBB0_2
	.p2align	4, 0x90
LBB0_3:
	movq	$0, 24(%rdi)
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:
	movl	(%r14), %eax
	movl	%eax, 8(%rdi)
LBB0_4:
	movq	%rdi, %rbx
	callq	*(%rdi)
	movq	%rbx, %rdi
	cmpq	$0, 32(%rbx)
	je	LBB0_6
## %bb.5:
	movq	$0, 32(%rdi)
	cmpq	$0, 24(%rdi)
	jne	LBB0_3
	jmp	LBB0_2
LBB0_6:
	cmpq	$0, 16(%rdi)
	je	LBB0_8
## %bb.7:
	cmpq	$0, 24(%rdi)
	je	LBB0_9
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	$0, 16(%rdi)
	movq	_LIBUSB20_TRANSFER_DRAINED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*(%rdi)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LIBUSB20_TRANSFER_START,4,2    ## @LIBUSB20_TRANSFER_START
	.comm	_LIBUSB20_TRANSFER_DRAINED,4,2  ## @LIBUSB20_TRANSFER_DRAINED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb20_tr_callback_wrapper   ; -- Begin function libusb20_tr_callback_wrapper
	.p2align	2
_libusb20_tr_callback_wrapper:          ; @libusb20_tr_callback_wrapper
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _LIBUSB20_TRANSFER_START@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LIBUSB20_TRANSFER_START@GOTPAGEOFF]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
LBB0_1:
	str	xzr, [x19, #24]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x20]
	str	w8, [x19, #8]
LBB0_3:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_5
; %bb.4:
	str	xzr, [x19, #32]
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_1
	b	LBB0_2
LBB0_5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	str	xzr, [x19, #16]
Lloh2:
	adrp	x8, _LIBUSB20_TRANSFER_DRAINED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LIBUSB20_TRANSFER_DRAINED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_LIBUSB20_TRANSFER_START,4,2    ; @LIBUSB20_TRANSFER_START
	.comm	_LIBUSB20_TRANSFER_DRAINED,4,2  ; @LIBUSB20_TRANSFER_DRAINED
.subsections_via_symbols
