	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2o_device_claim_release       ## -- Begin function i2o_device_claim_release
	.p2align	4, 0x90
_i2o_device_claim_release:              ## @i2o_device_claim_release
	.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	%rdi, %r14
	callq	_mutex_lock
	movq	_I2O_CMD_UTIL_RELEASE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_I2O_CLAIM_PRIMARY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_i2o_device_issue_claim
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movl	$1, %edi
	callq	_ssleep
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_i2o_device_issue_claim
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movl	$1, %edi
	callq	_ssleep
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_i2o_device_issue_claim
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movl	$1, %edi
	callq	_ssleep
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_i2o_device_issue_claim
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movl	$1, %edi
	callq	_ssleep
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_i2o_device_issue_claim
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movl	$1, %edi
	callq	_ssleep
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_i2o_device_issue_claim
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movl	$1, %edi
	callq	_ssleep
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_i2o_device_issue_claim
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	$1, %edi
	callq	_ssleep
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_i2o_device_issue_claim
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	$1, %edi
	callq	_ssleep
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_i2o_device_issue_claim
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	$1, %edi
	callq	_ssleep
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_i2o_device_issue_claim
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_ssleep
	movl	4(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_12
LBB0_10:
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_12:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2O_CMD_UTIL_RELEASE,4,2       ## @I2O_CMD_UTIL_RELEASE
	.comm	_I2O_CLAIM_PRIMARY,4,2          ## @I2O_CLAIM_PRIMARY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i2o: claim release of device %d succeded\n"

L_.str.1:                               ## @.str.1
	.asciz	"i2o: claim release of device %d failed %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2o_device_claim_release       ; -- Begin function i2o_device_claim_release
	.p2align	2
_i2o_device_claim_release:              ; @i2o_device_claim_release
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	bl	_mutex_lock
Lloh0:
	adrp	x20, _I2O_CMD_UTIL_RELEASE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _I2O_CMD_UTIL_RELEASE@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _I2O_CLAIM_PRIMARY@GOTPAGE
Lloh3:
	ldr	x21, [x21, _I2O_CLAIM_PRIMARY@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_i2o_device_issue_claim
	cbz	w0, LBB0_11
; %bb.1:
	mov	w0, #1
	bl	_ssleep
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_i2o_device_issue_claim
	cbz	w0, LBB0_11
; %bb.2:
	mov	w0, #1
	bl	_ssleep
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_i2o_device_issue_claim
	cbz	w0, LBB0_11
; %bb.3:
	mov	w0, #1
	bl	_ssleep
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_i2o_device_issue_claim
	cbz	w0, LBB0_11
; %bb.4:
	mov	w0, #1
	bl	_ssleep
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_i2o_device_issue_claim
	cbz	w0, LBB0_11
; %bb.5:
	mov	w0, #1
	bl	_ssleep
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_i2o_device_issue_claim
	cbz	w0, LBB0_11
; %bb.6:
	mov	w0, #1
	bl	_ssleep
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_i2o_device_issue_claim
	cbz	w0, LBB0_11
; %bb.7:
	mov	w0, #1
	bl	_ssleep
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_i2o_device_issue_claim
	cbz	w0, LBB0_11
; %bb.8:
	mov	w0, #1
	bl	_ssleep
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_i2o_device_issue_claim
	cbz	w0, LBB0_11
; %bb.9:
	mov	w0, #1
	bl	_ssleep
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_i2o_device_issue_claim
	cbz	w0, LBB0_11
; %bb.10:
	mov	x20, x0
	mov	w0, #1
	bl	_ssleep
	ldr	w1, [x19, #4]
	str	x20, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	b	LBB0_12
LBB0_11:
	ldr	w1, [x19, #4]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	mov	w20, #0
LBB0_12:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_I2O_CMD_UTIL_RELEASE,4,2       ; @I2O_CMD_UTIL_RELEASE
	.comm	_I2O_CLAIM_PRIMARY,4,2          ; @I2O_CLAIM_PRIMARY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i2o: claim release of device %d succeded\n"

l_.str.1:                               ; @.str.1
	.asciz	"i2o: claim release of device %d failed %d\n"

.subsections_via_symbols
