	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function video1394_remove_host
_video1394_remove_host:                 ## @video1394_remove_host
	.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, %rsi
	movq	_video1394_highlevel@GOTPCREL(%rip), %rdi
	callq	_hpsb_get_hostinfo
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_hpsb_protocol_class@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_IEEE1394_MAJOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_IEEE1394_MINOR_BLOCK_VIDEO1394@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rsi
	shlq	$4, %rsi
	movq	(%rax), %rax
	addq	(%rax), %rsi
	callq	_MKDEV
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_device_destroy                 ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_video1394_highlevel,4,2        ## @video1394_highlevel
	.comm	_hpsb_protocol_class,4,2        ## @hpsb_protocol_class
	.comm	_IEEE1394_MAJOR,4,2             ## @IEEE1394_MAJOR
	.comm	_IEEE1394_MINOR_BLOCK_VIDEO1394,4,2 ## @IEEE1394_MINOR_BLOCK_VIDEO1394
	.no_dead_strip	_video1394_remove_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function video1394_remove_host
_video1394_remove_host:                 ; @video1394_remove_host
	.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	x1, x0
Lloh0:
	adrp	x0, _video1394_highlevel@GOTPAGE
Lloh1:
	ldr	x0, [x0, _video1394_highlevel@GOTPAGEOFF]
	bl	_hpsb_get_hostinfo
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _hpsb_protocol_class@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hpsb_protocol_class@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	adrp	x8, _IEEE1394_MAJOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE1394_MAJOR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _IEEE1394_MINOR_BLOCK_VIDEO1394@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE1394_MINOR_BLOCK_VIDEO1394@GOTPAGEOFF]
Lloh10:
	ldrsw	x9, [x9]
	ldr	x10, [x0]
	ldr	x10, [x10]
	add	x1, x10, x9, lsl #4
	mov	x0, x8
	bl	_MKDEV
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_device_destroy
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_video1394_highlevel,4,2        ; @video1394_highlevel
	.comm	_hpsb_protocol_class,4,2        ; @hpsb_protocol_class
	.comm	_IEEE1394_MAJOR,4,2             ; @IEEE1394_MAJOR
	.comm	_IEEE1394_MINOR_BLOCK_VIDEO1394,4,2 ; @IEEE1394_MINOR_BLOCK_VIDEO1394
	.no_dead_strip	_video1394_remove_host
.subsections_via_symbols
