	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function u2fzero_probe
_u2fzero_probe:                         ## @u2fzero_probe
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_usb_hid_driver@GOTPCREL(%rip), %rsi
	callq	_hid_is_using_ll_driver
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	8(%r15), %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_devm_kmalloc
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_devm_kmalloc
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	%r15, %rdi
	callq	_hid_parse
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.8:
	movq	%r15, 8(%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_hid_set_drvdata
	movq	%r14, %rdi
	addq	$4, %rdi
	callq	_mutex_init
	movq	_HID_CONNECT_HIDRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_hid_hw_start
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.9:
	movq	%r14, %rdi
	callq	_u2fzero_fill_in_urb
	movl	$1, (%r14)
	movq	(%r15), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_u2fzero_init_led
	testl	%eax, %eax
	jne	LBB0_10
## %bb.11:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_hid_info
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_u2fzero_init_hwrng
	testl	%eax, %eax
	je	LBB0_12
LBB0_10:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_hid_hw_stop
	jmp	LBB0_13
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_hid_info
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_usb_hid_driver,4,2             ## @usb_hid_driver
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HID_CONNECT_HIDRAW,4,2         ## @HID_CONNECT_HIDRAW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"U2F Zero LED initialised\n"

L_.str.1:                               ## @.str.1
	.asciz	"U2F Zero RNG initialised\n"

	.no_dead_strip	_u2fzero_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function u2fzero_probe
_u2fzero_probe:                         ; @u2fzero_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh0:
	adrp	x1, _usb_hid_driver@GOTPAGE
Lloh1:
	ldr	x1, [x1, _usb_hid_driver@GOTPAGEOFF]
	bl	_hid_is_using_ll_driver
	cbz	w0, LBB0_9
; %bb.1:
	add	x21, x19, #8
Lloh2:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x21
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	w2, [x22]
	mov	x0, x21
	mov	w1, #4
	bl	_devm_kmalloc
	str	x0, [x20, #24]
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w2, [x22]
	mov	x0, x21
	mov	w1, #4
	bl	_devm_kmalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_hid_parse
	mov	x21, x0
	cbnz	w0, LBB0_11
; %bb.5:
	str	x19, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_hid_set_drvdata
	add	x0, x20, #4
	bl	_mutex_init
Lloh4:
	adrp	x8, _HID_CONNECT_HIDRAW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HID_CONNECT_HIDRAW@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hid_hw_start
	mov	x21, x0
	cbnz	w0, LBB0_11
; %bb.6:
	mov	x0, x20
	bl	_u2fzero_fill_in_urb
	mov	w8, #1
	str	w8, [x20]
	ldr	x8, [x19]
	ldr	w22, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_u2fzero_init_led
	cbz	w0, LBB0_12
; %bb.7:
	mov	x21, x0
	b	LBB0_13
LBB0_8:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hid_info
	mov	x0, x20
	mov	x1, x22
	bl	_u2fzero_init_hwrng
	mov	x21, x0
	cbz	w0, LBB0_14
LBB0_13:
	mov	x0, x19
	bl	_hid_hw_stop
	b	LBB0_11
LBB0_14:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_hid_info
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_usb_hid_driver,4,2             ; @usb_hid_driver
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HID_CONNECT_HIDRAW,4,2         ; @HID_CONNECT_HIDRAW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"U2F Zero LED initialised\n"

l_.str.1:                               ; @.str.1
	.asciz	"U2F Zero RNG initialised\n"

	.no_dead_strip	_u2fzero_probe
.subsections_via_symbols
