	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ugen20_root_get_quirk_name
_ugen20_root_get_quirk_name:            ## @ugen20_root_get_quirk_name
	.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
	movl	%esi, %ebx
	leaq	-40(%rbp), %r12
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	%ebx, -36(%rbp)
	movq	_USB_QUIRK_NAME_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IOUSB
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_ugen20_be_ioctl
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	_LIBUSB20_ERROR_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movl	%eax, %r15d
	jmp	LBB0_5
LBB0_4:
	movl	(%r14), %edi
	movl	-40(%rbp), %esi
	movl	$4, %edx
	callq	_strlcpy
LBB0_5:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_QUIRK_NAME_GET,4,2         ## @USB_QUIRK_NAME_GET
	.comm	_errno,8,3                      ## @errno
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_LIBUSB20_ERROR_NOT_FOUND,4,2   ## @LIBUSB20_ERROR_NOT_FOUND
	.no_dead_strip	_ugen20_root_get_quirk_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ugen20_root_get_quirk_name
_ugen20_root_get_quirk_name:            ; @ugen20_root_get_quirk_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	w20, [sp, #12]
Lloh0:
	adrp	x8, _USB_QUIRK_NAME_GET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_QUIRK_NAME_GET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IOUSB
	add	x1, sp, #8
	bl	_ugen20_be_ioctl
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _EINVAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _LIBUSB20_ERROR_NOT_FOUND@GOTPAGE
Lloh10:
	ldr	x10, [x10, _LIBUSB20_ERROR_NOT_FOUND@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w0, w10, w0, eq
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19]
	ldr	w1, [sp, #8]
	mov	w2, #4
	bl	_strlcpy
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_QUIRK_NAME_GET,4,2         ; @USB_QUIRK_NAME_GET
	.comm	_errno,8,3                      ; @errno
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_LIBUSB20_ERROR_NOT_FOUND,4,2   ; @LIBUSB20_ERROR_NOT_FOUND
	.no_dead_strip	_ugen20_root_get_quirk_name
.subsections_via_symbols
