	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hso_get_activity
_hso_get_activity:                      ## @hso_get_activity
	.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	%rdi, %rbx
	movq	8(%rdi), %rdi
	movq	(%rdi), %rax
	movq	_USB_STATE_SUSPENDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	cmpl	$0, (%rbx)
	jne	LBB0_3
## %bb.2:
	movl	$1, (%rbx)
	leaq	16(%rbx), %rdi
	callq	_schedule_work
	movq	8(%rbx), %rdi
	movq	(%rdi), %rax
LBB0_3:
	movq	_USB_STATE_CONFIGURED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	callq	_usb_mark_last_busy
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_STATE_SUSPENDED,8,3        ## @USB_STATE_SUSPENDED
	.comm	_USB_STATE_CONFIGURED,8,3       ## @USB_STATE_CONFIGURED
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_hso_get_activity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hso_get_activity
_hso_get_activity:                      ; @hso_get_activity
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _USB_STATE_SUSPENDED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _USB_STATE_SUSPENDED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w9, [x19]
	cbnz	w9, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x19]
	add	x0, x19, #16
	bl	_schedule_work
	ldr	x0, [x19, #8]
	ldr	x8, [x0]
LBB0_3:
Lloh3:
	adrp	x9, _USB_STATE_CONFIGURED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _USB_STATE_CONFIGURED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	bl	_usb_mark_last_busy
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_STATE_SUSPENDED,8,3        ; @USB_STATE_SUSPENDED
	.comm	_USB_STATE_CONFIGURED,8,3       ; @USB_STATE_CONFIGURED
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_hso_get_activity
.subsections_via_symbols
