	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function us122l_usb_probe
_us122l_usb_probe:                      ## @us122l_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r12
	callq	_interface_to_usbdev
	movq	%rax, %r15
	leaq	-40(%rbp), %rsi
	movq	%rax, %rdi
	callq	_usx2y_create_card
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	-40(%rbp), %rdi
	movq	%r12, %rsi
	callq	_snd_card_set_dev
	movq	-40(%rbp), %rdi
	callq	_us122l_create_card
	movq	-40(%rbp), %rdi
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	callq	_snd_card_register
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_usb_ifnum_to_if
	movl	%eax, %edi
	callq	_usb_get_intf
	movq	%r15, %rdi
	callq	_usb_get_dev
	movq	-40(%rbp), %rax
	movq	%rax, (%r14)
	jmp	LBB0_7
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_3:
	callq	_snd_card_free
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_5:
	movl	%eax, %ebx
	movq	-40(%rbp), %rdi
	callq	_snd_card_free
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_us122l_usb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function us122l_usb_probe
_us122l_usb_probe:                      ; @us122l_usb_probe
	.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	x19, x2
	mov	x22, x0
	bl	_interface_to_usbdev
	mov	x20, x0
	add	x1, sp, #8
	bl	_usx2y_create_card
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	x0, [sp, #8]
	mov	x1, x22
	bl	_snd_card_set_dev
	ldr	x0, [sp, #8]
	bl	_us122l_create_card
	mov	x8, x0
	ldr	x0, [sp, #8]
	cbz	w8, LBB0_5
; %bb.2:
	bl	_snd_card_register
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	w1, #0
	bl	_usb_ifnum_to_if
	bl	_usb_get_intf
	mov	x0, x20
	bl	_usb_get_dev
	mov	w21, #0
	ldr	x8, [sp, #8]
	str	x8, [x19]
	b	LBB0_7
LBB0_4:
	mov	x21, x0
	b	LBB0_7
LBB0_5:
	bl	_snd_card_free
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_6:
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_snd_card_free
LBB0_7:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_us122l_usb_probe
.subsections_via_symbols
