	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function u2fzero_recv
_u2fzero_recv:                          ## @u2fzero_recv
	.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, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	32(%rdi), %r14
	callq	_mutex_lock
	movq	24(%r13), %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	16(%r13), %rax
	leaq	-48(%rbp), %rdi
	movq	%rdi, 8(%rax)
	callq	_init_completion
	movq	16(%r13), %rdi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
LBB0_2:
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_hid_err
LBB0_8:
	movq	%r13, %rdi
	callq	_mutex_unlock
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	24(%r13), %rsi
	movq	32(%r13), %rdi
	movl	$4, %edx
	callq	_hid_hw_output_report
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	_USB_CTRL_SET_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	leaq	-48(%rbp), %rdi
	movl	%eax, %esi
	callq	_wait_for_completion_timeout
	movq	16(%r13), %rdi
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movl	(%rdi), %r15d
	movq	8(%r13), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_memcpy
	jmp	LBB0_8
LBB0_4:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_6:
	movl	%eax, %r15d
	callq	_usb_kill_urb
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_hid_err
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usb_submit_urb failed: %d"

L_.str.1:                               ## @.str.1
	.asciz	"hid_hw_output_report failed: %d"

	.comm	_USB_CTRL_SET_TIMEOUT,4,2       ## @USB_CTRL_SET_TIMEOUT
L_.str.2:                               ## @.str.2
	.asciz	"urb submission timed out"

	.no_dead_strip	_u2fzero_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function u2fzero_recv
_u2fzero_recv:                          ; @u2fzero_recv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x20, [x0, #32]
	bl	_mutex_lock
	ldr	x0, [x19, #24]
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #16]
	add	x9, sp, #8
	str	x9, [x8, #8]
	add	x0, sp, #8
	bl	_init_completion
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	mov	x22, x0
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
	str	x22, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x20
	bl	_hid_err
LBB0_3:
	mov	x0, x19
	bl	_mutex_unlock
	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
	add	sp, sp, #64
	ret
LBB0_4:
	ldp	x1, x0, [x19, #24]
	mov	w2, #4
	bl	_hid_hw_output_report
	tbnz	w0, #31, LBB0_7
; %bb.5:
Lloh5:
	adrp	x8, _USB_CTRL_SET_TIMEOUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _USB_CTRL_SET_TIMEOUT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x1, x0
	add	x0, sp, #8
	bl	_wait_for_completion_timeout
	mov	x22, x0
	ldr	x0, [x19, #16]
	tbnz	w22, #31, LBB0_8
; %bb.6:
	ldr	w22, [x0]
	ldr	x1, [x19, #8]
	mov	x0, x21
	mov	x2, x22
	bl	_memcpy
	b	LBB0_3
LBB0_7:
	mov	x22, x0
	str	x22, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_hid_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_3
LBB0_8:
	bl	_usb_kill_urb
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usb_submit_urb failed: %d"

l_.str.1:                               ; @.str.1
	.asciz	"hid_hw_output_report failed: %d"

	.comm	_USB_CTRL_SET_TIMEOUT,4,2       ; @USB_CTRL_SET_TIMEOUT
l_.str.2:                               ; @.str.2
	.asciz	"urb submission timed out"

	.no_dead_strip	_u2fzero_recv
.subsections_via_symbols
