	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dax_add_host
_dax_add_host:                          ## @dax_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_INIT_HLIST_NODE
	movq	%r15, (%rbx)
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_dax_host_hash
	movl	%eax, %ebx
	movq	_dax_host_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	_dax_host_list@GOTPCREL(%rip), %rax
	movslq	%ebx, %rsi
	shlq	$2, %rsi
	addq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_hlist_add_head
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dax_host_lock,4,2              ## @dax_host_lock
	.comm	_dax_host_list,8,3              ## @dax_host_list
	.no_dead_strip	_dax_add_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dax_add_host
_dax_add_host:                          ; @dax_add_host
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x21, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_INIT_HLIST_NODE
	str	x20, [x21]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_dax_host_hash
	mov	x20, x0
Lloh0:
	adrp	x21, _dax_host_lock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _dax_host_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock
Lloh2:
	adrp	x8, _dax_host_list@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dax_host_list@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x1, x8, w20, sxtw #2
	mov	x0, x19
	bl	_hlist_add_head
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dax_host_lock,4,2              ; @dax_host_lock
	.comm	_dax_host_list,8,3              ; @dax_host_list
	.no_dead_strip	_dax_add_host
.subsections_via_symbols
