	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hwspin_lock_request_specific   ## -- Begin function hwspin_lock_request_specific
	.p2align	4, 0x90
_hwspin_lock_request_specific:          ## @hwspin_lock_request_specific
	.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
	movl	%edi, %r14d
	movq	_hwspinlock_tree_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_hwspinlock_tree@GOTPCREL(%rip), %rdi
	movl	%r14d, %esi
	callq	_radix_tree_lookup
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_hwlock_to_id
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	setne	%dil
	callq	_WARN_ON
	movq	_HWSPINLOCK_UNUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_hwspinlock_tree@GOTPCREL(%rip), %rdi
	movl	%r14d, %esi
	callq	_radix_tree_tag_get
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	___hwspin_lock_request
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmovsq	%rcx, %rbx
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	movl	%r14d, %esi
	callq	_pr_warn
	xorl	%ebx, %ebx
LBB0_6:
	movq	_hwspinlock_tree_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hwspinlock_tree_lock,4,2       ## @hwspinlock_tree_lock
	.comm	_hwspinlock_tree,4,2            ## @hwspinlock_tree
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hwspinlock %u does not exist\n"

	.comm	_HWSPINLOCK_UNUSED,4,2          ## @HWSPINLOCK_UNUSED
L_.str.1:                               ## @.str.1
	.asciz	"hwspinlock %u is already in use\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hwspin_lock_request_specific   ; -- Begin function hwspin_lock_request_specific
	.p2align	2
_hwspin_lock_request_specific:          ; @hwspin_lock_request_specific
	.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
Lloh0:
	adrp	x0, _hwspinlock_tree_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _hwspinlock_tree_lock@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x0, _hwspinlock_tree@GOTPAGE
Lloh3:
	ldr	x0, [x0, _hwspinlock_tree@GOTPAGEOFF]
	mov	x1, x19
	bl	_radix_tree_lookup
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_hwlock_to_id
	cmp	w0, w19
	cset	w0, ne
	bl	_WARN_ON
Lloh4:
	adrp	x8, _HWSPINLOCK_UNUSED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HWSPINLOCK_UNUSED@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x0, _hwspinlock_tree@GOTPAGE
Lloh8:
	ldr	x0, [x0, _hwspinlock_tree@GOTPAGEOFF]
	mov	x1, x19
	bl	_radix_tree_tag_get
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	___hwspin_lock_request
	cmp	w0, #0
	csel	x19, xzr, x20, lt
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	mov	x1, x19
	bl	_pr_warn
	mov	x19, #0
LBB0_6:
Lloh13:
	adrp	x0, _hwspinlock_tree_lock@GOTPAGE
Lloh14:
	ldr	x0, [x0, _hwspinlock_tree_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_hwspinlock_tree_lock,4,2       ; @hwspinlock_tree_lock
	.comm	_hwspinlock_tree,4,2            ; @hwspinlock_tree
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hwspinlock %u does not exist\n"

	.comm	_HWSPINLOCK_UNUSED,4,2          ; @HWSPINLOCK_UNUSED
l_.str.1:                               ; @.str.1
	.asciz	"hwspinlock %u is already in use\n"

.subsections_via_symbols
