	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb_device_get_speed
_usb_device_get_speed:                  ## @usb_device_get_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_USB_DEVICE_STATUS_SPEED_Msk@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_USB_SPEED_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_USB_SPEED_LOW@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_DEVICE_STATUS_SPEED_Msk,4,2 ## @USB_DEVICE_STATUS_SPEED_Msk
	.comm	_USB_SPEED_FULL,4,2             ## @USB_SPEED_FULL
	.comm	_USB_SPEED_LOW,4,2              ## @USB_SPEED_LOW
	.no_dead_strip	_usb_device_get_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usb_device_get_speed
_usb_device_get_speed:                  ; @usb_device_get_speed
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _USB_DEVICE_STATUS_SPEED_Msk@GOTPAGE
Lloh1:
	ldr	x9, [x9, _USB_DEVICE_STATUS_SPEED_Msk@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _USB_SPEED_FULL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _USB_SPEED_FULL@GOTPAGEOFF]
Lloh5:
	adrp	x11, _USB_SPEED_LOW@GOTPAGE
Lloh6:
	ldr	x11, [x11, _USB_SPEED_LOW@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_DEVICE_STATUS_SPEED_Msk,4,2 ; @USB_DEVICE_STATUS_SPEED_Msk
	.comm	_USB_SPEED_FULL,4,2             ; @USB_SPEED_FULL
	.comm	_USB_SPEED_LOW,4,2              ; @USB_SPEED_LOW
	.no_dead_strip	_usb_device_get_speed
.subsections_via_symbols
