	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iforce_usb_probe
_iforce_usb_probe:                      ## @iforce_usb_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_interface_to_usbdev
	xorl	%r12d, %r12d
	movq	8(%r15), %rbx
	cmpl	$1, 8(%rbx)
	jg	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	%rax, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movq	(%rbx), %r13
	movq	%r13, %rdi
	callq	_usb_endpoint_is_int_in
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movq	(%rbx), %rbx
	leaq	8(%rbx), %rdi
	callq	_usb_endpoint_is_int_out
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	%rax, %rbx
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	%rax, %r14
	movl	(%rbx), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	(%rbx), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r14, %rax
	addq	$16, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_iforce_usb_xport_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r14)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, 40(%r14)
	movq	%r15, 32(%r14)
	movq	8(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %esi
	movq	%r12, %rdi
	callq	_usb_rcvintpipe
	movl	28(%r14), %ecx
	movq	_iforce_usb_irq@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	(%r13), %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%eax, %edx
	movl	$4, %r8d
	pushq	%rbx
	pushq	%r14
	callq	_usb_fill_int_urb
	addq	$16, %rsp
	movq	(%r14), %r13
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	12(%rbx), %esi
	movq	%r12, %rdi
	callq	_usb_sndintpipe
	movl	24(%r14), %ecx
	movq	_iforce_usb_out@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	8(%rbx), %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	movl	$4, %r8d
	pushq	%rbx
	pushq	%r14
	callq	_usb_fill_int_urb
	addq	$16, %rsp
	movq	_BUS_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_iforce_init_device
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_12
LBB0_8:
	movq	8(%r14), %rdi
	callq	_usb_free_urb
	movq	(%r14), %rdi
	callq	_usb_free_urb
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_11
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_10:
	subl	(%rax), %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_usb_set_intfdata
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_iforce_usb_xport_ops,4,2       ## @iforce_usb_xport_ops
	.comm	_iforce_usb_irq,4,2             ## @iforce_usb_irq
	.comm	_iforce_usb_out,4,2             ## @iforce_usb_out
	.comm	_BUS_USB,4,2                    ## @BUS_USB
	.no_dead_strip	_iforce_usb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iforce_usb_probe
_iforce_usb_probe:                      ; @iforce_usb_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_interface_to_usbdev
	ldr	x22, [x19, #8]
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.le	LBB0_8
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x23, [x22]
	mov	x0, x23
	bl	_usb_endpoint_is_int_in
	cbz	w0, LBB0_8
; %bb.2:
	ldr	x25, [x22]
	add	x0, x25, #8
	bl	_usb_endpoint_is_int_out
	cbz	w0, LBB0_8
; %bb.3:
	neg	w22, w20
Lloh3:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.4:
	mov	x20, x0
	ldr	w1, [x24]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	x0, [x20, #8]
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w1, [x24]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	x0, [x20]
	cbz	x0, LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, _iforce_usb_xport_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _iforce_usb_xport_ops@GOTPAGEOFF]
	mov	x22, x20
	str	x8, [x22, #16]!
	stp	x19, x21, [x20, #32]
	ldr	x24, [x20, #8]
	ldr	w1, [x23, #4]
	mov	x0, x21
	bl	_usb_rcvintpipe
	mov	x2, x0
	ldr	w3, [x20, #28]
Lloh7:
	adrp	x8, _iforce_usb_irq@GOTPAGE
Lloh8:
	ldr	x8, [x8, _iforce_usb_irq@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
	ldr	w7, [x23]
	mov	x0, x24
	mov	x1, x21
	mov	w4, #4
	mov	x6, x20
	bl	_usb_fill_int_urb
	ldr	x23, [x20]
	ldr	w1, [x25, #12]
	mov	x0, x21
	bl	_usb_sndintpipe
	mov	x2, x0
	ldr	w3, [x20, #24]
Lloh10:
	adrp	x8, _iforce_usb_out@GOTPAGE
Lloh11:
	ldr	x8, [x8, _iforce_usb_out@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
	ldr	w7, [x25, #8]
	mov	x0, x23
	mov	x1, x21
	mov	w4, #4
	mov	x6, x20
	bl	_usb_fill_int_urb
Lloh13:
	adrp	x8, _BUS_USB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BUS_USB@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_iforce_init_device
	mov	x22, x0
	cbz	w0, LBB0_10
LBB0_7:
	ldr	x0, [x20, #8]
	bl	_usb_free_urb
	ldr	x0, [x20]
	bl	_usb_free_urb
	mov	x0, x20
	bl	_kfree
	b	LBB0_9
LBB0_8:
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	bl	_usb_set_intfdata
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_iforce_usb_xport_ops,4,2       ; @iforce_usb_xport_ops
	.comm	_iforce_usb_irq,4,2             ; @iforce_usb_irq
	.comm	_iforce_usb_out,4,2             ; @iforce_usb_out
	.comm	_BUS_USB,4,2                    ; @BUS_USB
	.no_dead_strip	_iforce_usb_probe
.subsections_via_symbols
