	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_host
_remove_host:                           ## @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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_CSR_BUS_INFO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_IEEE1394_BUSID_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_CSR_CYC_CLK_ACC_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	8(%rbx), %eax
	movl	12(%rbx), %edi
	shll	%cl, %eax
	movq	_CSR_MAX_REC_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	orl	16(%rbx), %edi
	callq	_cpu_to_be32
	movl	%eax, 8(%r14)
	movl	20(%rbx), %edi
	callq	_cpu_to_be32
	movl	%eax, 12(%r14)
	movl	24(%rbx), %edi
	callq	_cpu_to_be32
	movl	%eax, 16(%r14)
	movq	32(%rbx), %rax
	movl	(%rax), %edi
	movq	_node_cap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_csr1212_detach_keyval_from_directory
	movq	32(%rbx), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_csr1212_init_local_csr
	movl	$1, (%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	leaq	-16(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR_BUS_INFO_SIZE,4,2          ## @CSR_BUS_INFO_SIZE
	.comm	_IEEE1394_BUSID_MAGIC,4,2       ## @IEEE1394_BUSID_MAGIC
	.comm	_CSR_IRMC_SHIFT,4,2             ## @CSR_IRMC_SHIFT
	.comm	_CSR_CMC_SHIFT,4,2              ## @CSR_CMC_SHIFT
	.comm	_CSR_ISC_SHIFT,4,2              ## @CSR_ISC_SHIFT
	.comm	_CSR_BMC_SHIFT,4,2              ## @CSR_BMC_SHIFT
	.comm	_CSR_PMC_SHIFT,4,2              ## @CSR_PMC_SHIFT
	.comm	_CSR_CYC_CLK_ACC_SHIFT,4,2      ## @CSR_CYC_CLK_ACC_SHIFT
	.comm	_CSR_MAX_REC_SHIFT,4,2          ## @CSR_MAX_REC_SHIFT
	.comm	_CSR_MAX_ROM_SHIFT,4,2          ## @CSR_MAX_ROM_SHIFT
	.comm	_CSR_GENERATION_SHIFT,4,2       ## @CSR_GENERATION_SHIFT
	.comm	_node_cap,4,2                   ## @node_cap
	.no_dead_strip	_remove_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_host
_remove_host:                           ; @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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _CSR_BUS_INFO_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CSR_BUS_INFO_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh8:
	adrp	x8, _IEEE1394_BUSID_MAGIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE1394_BUSID_MAGIC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _CSR_CYC_CLK_ACC_SHIFT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CSR_CYC_CLK_ACC_SHIFT@GOTPAGEOFF]
	str	w8, [x20, #4]
Lloh13:
	ldr	w8, [x9]
	ldp	w9, w10, [x0, #8]
Lloh14:
	adrp	x11, _CSR_MAX_REC_SHIFT@GOTPAGE
Lloh15:
	ldr	x11, [x11, _CSR_MAX_REC_SHIFT@GOTPAGEOFF]
	lsl	w8, w9, w8
Lloh16:
	ldr	w9, [x11]
	lsl	w9, w10, w9
	orr	w8, w9, w8
	ldr	w9, [x0, #16]
	orr	w0, w8, w9
	bl	_cpu_to_be32
	str	w0, [x20, #8]
	ldr	w0, [x19, #20]
	bl	_cpu_to_be32
	str	w0, [x20, #12]
	ldr	w0, [x19, #24]
	bl	_cpu_to_be32
	str	w0, [x20, #16]
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _node_cap@GOTPAGE
Lloh18:
	ldr	x8, [x8, _node_cap@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_csr1212_detach_keyval_from_directory
	ldr	x0, [x19, #32]
	mov	x1, x20
	mov	w2, #0
	bl	_csr1212_init_local_csr
	mov	w8, #1
	str	w8, [x19]
	ldur	x8, [x29, #-24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR_BUS_INFO_SIZE,4,2          ; @CSR_BUS_INFO_SIZE
	.comm	_IEEE1394_BUSID_MAGIC,4,2       ; @IEEE1394_BUSID_MAGIC
	.comm	_CSR_IRMC_SHIFT,4,2             ; @CSR_IRMC_SHIFT
	.comm	_CSR_CMC_SHIFT,4,2              ; @CSR_CMC_SHIFT
	.comm	_CSR_ISC_SHIFT,4,2              ; @CSR_ISC_SHIFT
	.comm	_CSR_BMC_SHIFT,4,2              ; @CSR_BMC_SHIFT
	.comm	_CSR_PMC_SHIFT,4,2              ; @CSR_PMC_SHIFT
	.comm	_CSR_CYC_CLK_ACC_SHIFT,4,2      ; @CSR_CYC_CLK_ACC_SHIFT
	.comm	_CSR_MAX_REC_SHIFT,4,2          ; @CSR_MAX_REC_SHIFT
	.comm	_CSR_MAX_ROM_SHIFT,4,2          ; @CSR_MAX_ROM_SHIFT
	.comm	_CSR_GENERATION_SHIFT,4,2       ; @CSR_GENERATION_SHIFT
	.comm	_node_cap,4,2                   ; @node_cap
	.no_dead_strip	_remove_host
.subsections_via_symbols
