	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_host
_add_host:                              ## @add_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, 8(%rbx)
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_INIT_LIST_HEAD
	movq	_host_info_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_host_info_list@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	_host_count@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_2:
	movq	_internal_generation@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_atomic_inc                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_host_info_lock,4,2             ## @host_info_lock
	.comm	_host_info_list,4,2             ## @host_info_list
	.comm	_host_count,4,2                 ## @host_count
	.comm	_internal_generation,4,2        ## @internal_generation
	.no_dead_strip	_add_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_host
_add_host:                              ; @add_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	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kmalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_INIT_LIST_HEAD
	str	x20, [x19, #8]
	add	x0, x19, #4
	bl	_INIT_LIST_HEAD
Lloh3:
	adrp	x20, _host_info_lock@GOTPAGE
Lloh4:
	ldr	x20, [x20, _host_info_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh5:
	adrp	x1, _host_info_list@GOTPAGE
Lloh6:
	ldr	x1, [x1, _host_info_list@GOTPAGEOFF]
	mov	x0, x19
	bl	_list_add_tail
Lloh7:
	adrp	x8, _host_count@GOTPAGE
Lloh8:
	ldr	x8, [x8, _host_count@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_2:
Lloh9:
	adrp	x0, _internal_generation@GOTPAGE
Lloh10:
	ldr	x0, [x0, _internal_generation@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_atomic_inc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_host_info_lock,4,2             ; @host_info_lock
	.comm	_host_info_list,4,2             ; @host_info_list
	.comm	_host_count,4,2                 ; @host_count
	.comm	_internal_generation,4,2        ; @internal_generation
	.no_dead_strip	_add_host
.subsections_via_symbols
