	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i3c_device_request_ibi         ## -- Begin function i3c_device_request_ibi
	.p2align	4, 0x90
_i3c_device_request_ibi:                ## @i3c_device_request_ibi
	.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
	xorl	%ebx, %ebx
	cmpl	$0, 4(%rsi)
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r15
	cmpl	$0, (%rsi)
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	(%rdi), %edi
	callq	_i3c_bus_normaluse_lock
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_mutex_lock
	movq	8(%r14), %rdi
	movq	%r15, %rsi
	callq	_i3c_dev_request_ibi_locked
	movl	%eax, %ebx
	movq	8(%r14), %rdi
	callq	_mutex_unlock
LBB0_5:
	movl	(%r14), %edi
	callq	_i3c_bus_normaluse_unlock
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i3c_device_request_ibi         ; -- Begin function i3c_device_request_ibi
	.p2align	2
_i3c_device_request_ibi:                ; @i3c_device_request_ibi
	.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
	ldr	w8, [x1, #4]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x1
	ldr	w8, [x1]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x19, x0
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w0, [x0]
	bl	_i3c_bus_normaluse_lock
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_mutex_lock
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_i3c_dev_request_ibi_locked
	mov	x20, x0
	ldr	x0, [x19, #8]
	bl	_mutex_unlock
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_7
LBB0_5:
	neg	w20, w21
LBB0_6:
	ldr	w0, [x19]
	bl	_i3c_bus_normaluse_unlock
LBB0_7:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
