	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usX2Y_usb_probe
_usX2Y_usb_probe:                       ## @usX2Y_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	%rcx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	$0, (%rcx)
	movl	4(%rdi), %edi
	callq	_le16_to_cpu
	cmpl	$5636, %eax                     ## imm = 0x1604
	jne	LBB0_4
## %bb.1:
	movl	(%r12), %edi
	callq	_le16_to_cpu
	movq	_USB_ID_US122@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.2:
	movl	(%r12), %edi
	callq	_le16_to_cpu
	movq	_USB_ID_US224@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.3:
	movl	(%r12), %edi
	callq	_le16_to_cpu
	movq	_USB_ID_US428@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
LBB0_5:
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_usX2Y_create_card
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	-40(%rbp), %rdi
	movq	%r15, %rsi
	callq	_snd_card_set_dev
	movq	-40(%rbp), %rdi
	movq	%r12, %rsi
	callq	_usX2Y_hwdep_new
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	-40(%rbp), %rdi
	callq	_snd_card_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movq	-40(%rbp), %rax
	movq	%rax, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_6:
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_9:
	movl	%eax, %ebx
	movq	-40(%rbp), %rdi
	callq	_snd_card_free
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_ID_US122,4,2               ## @USB_ID_US122
	.comm	_USB_ID_US224,4,2               ## @USB_ID_US224
	.comm	_USB_ID_US428,4,2               ## @USB_ID_US428
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_usX2Y_usb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usX2Y_usb_probe
_usX2Y_usb_probe:                       ; @usX2Y_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, x3
	mov	x21, x1
	mov	x20, x0
	str	xzr, [x3]
	ldr	w0, [x0, #4]
	bl	_le16_to_cpu
	mov	w8, #5636
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.1:
	ldr	w0, [x20]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _USB_ID_US122@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_ID_US122@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	w0, [x20]
	bl	_le16_to_cpu
Lloh3:
	adrp	x8, _USB_ID_US224@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USB_ID_US224@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x20]
	bl	_le16_to_cpu
Lloh6:
	adrp	x8, _USB_ID_US428@GOTPAGE
Lloh7:
	ldr	x8, [x8, _USB_ID_US428@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
LBB0_4:
	add	x1, sp, #8
	mov	x0, x20
	bl	_usX2Y_create_card
	tbnz	w0, #31, LBB0_9
; %bb.5:
	ldr	x0, [sp, #8]
	mov	x1, x21
	bl	_snd_card_set_dev
	ldr	x0, [sp, #8]
	mov	x1, x20
	bl	_usX2Y_hwdep_new
	tbnz	w0, #31, LBB0_10
; %bb.6:
	ldr	x0, [sp, #8]
	bl	_snd_card_register
	tbnz	w0, #31, LBB0_10
; %bb.7:
	mov	w22, #0
	ldr	x8, [sp, #8]
	str	x8, [x19]
	b	LBB0_11
LBB0_8:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_9:
	mov	x22, x0
	b	LBB0_11
LBB0_10:
	mov	x22, x0
	ldr	x0, [sp, #8]
	bl	_snd_card_free
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_ID_US122,4,2               ; @USB_ID_US122
	.comm	_USB_ID_US224,4,2               ; @USB_ID_US224
	.comm	_USB_ID_US428,4,2               ; @USB_ID_US428
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_usX2Y_usb_probe
.subsections_via_symbols
