	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udd_enable                     ## -- Begin function udd_enable
	.p2align	4, 0x90
_udd_enable:                            ## @udd_enable
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	___get_PRIMASK
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	___disable_irq
	xorl	%eax, %eax
	callq	___DMB
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_usb_get_config_defaults
	movq	_UDD_CLOCK_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_usb_device@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_usb_init
	movq	%rbx, %rdi
	callq	_usb_enable
	xorl	%eax, %eax
	callq	_udd_wait_clock_ready
	movq	_UDD_STATE_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udd_sleep_mode
	xorl	%eax, %eax
	callq	_udd_attach
	xorl	%eax, %eax
	callq	___DMB
	movl	%r14d, %edi
	callq	___set_PRIMASK
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UDD_CLOCK_GEN,4,2              ## @UDD_CLOCK_GEN
	.comm	_usb_device,4,2                 ## @usb_device
	.comm	_USB,4,2                        ## @USB
	.comm	_UDD_STATE_SUSPEND,4,2          ## @UDD_STATE_SUSPEND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udd_enable                     ; -- Begin function udd_enable
	.p2align	2
_udd_enable:                            ; @udd_enable
	.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
	bl	___get_PRIMASK
	mov	x19, x0
	bl	___disable_irq
	bl	___DMB
	add	x0, sp, #8
	bl	_usb_get_config_defaults
Lloh0:
	adrp	x8, _UDD_CLOCK_GEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UDD_CLOCK_GEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _USB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USB@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x20, _usb_device@GOTPAGE
Lloh7:
	ldr	x20, [x20, _usb_device@GOTPAGEOFF]
	add	x2, sp, #8
	mov	x0, x20
	bl	_usb_init
	mov	x0, x20
	bl	_usb_enable
	bl	_udd_wait_clock_ready
Lloh8:
	adrp	x8, _UDD_STATE_SUSPEND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UDD_STATE_SUSPEND@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_udd_sleep_mode
	bl	_udd_attach
	bl	___DMB
	mov	x0, x19
	bl	___set_PRIMASK
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UDD_CLOCK_GEN,4,2              ; @UDD_CLOCK_GEN
	.comm	_usb_device,4,2                 ; @usb_device
	.comm	_USB,4,2                        ; @USB
	.comm	_UDD_STATE_SUSPEND,4,2          ; @UDD_STATE_SUSPEND
.subsections_via_symbols
