	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __usb_open
___usb_open:                            ## @__usb_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	___usbdev@GOTPCREL(%rip), %rax
	movl	$-1, %ebx
	cmpl	$4, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	%edi, 4(%rax)
	movl	$2, (%rax)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	___issue_intrread
	xorl	%eax, %eax
	callq	___issue_bulkread
	movq	___wait4hci@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___usbdev,8,2                   ## @__usbdev
	.comm	___wait4hci,8,3                 ## @__wait4hci
	.no_dead_strip	___usb_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __usb_open
___usb_open:                            ; @__usb_open
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___usbdev@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___usbdev@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #4
	b.ne	LBB0_2
; %bb.1:
	mov	w9, #2
	stp	w9, w0, [x8]
	bl	___issue_intrread
	bl	___issue_bulkread
	mov	w0, #0
Lloh2:
	adrp	x8, ___wait4hci@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___wait4hci@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	___usbdev,8,2                   ; @__usbdev
	.comm	___wait4hci,8,3                 ; @__wait4hci
	.no_dead_strip	___usb_open
.subsections_via_symbols
