	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i3c_bus_get_addr_slot_status
_i3c_bus_get_addr_slot_status:          ## @i3c_bus_get_addr_slot_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_I2C_MAX_ADDR@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jge	LBB0_2
## %bb.1:
	movq	_I3C_ADDR_SLOT_RSVD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	addl	%esi, %esi
	movq	(%rdi), %rdi
	movq	_BITS_PER_LONG@GOTPCREL(%rip), %rcx
	movl	%esi, %eax
	cltd
	idivl	(%rcx)
	movl	%edx, %ecx
	cltq
	movl	(%rdi,%rax,4), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	movq	_I3C_ADDR_SLOT_STATUS_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_MAX_ADDR,4,2               ## @I2C_MAX_ADDR
	.comm	_I3C_ADDR_SLOT_RSVD,4,2         ## @I3C_ADDR_SLOT_RSVD
	.comm	_BITS_PER_LONG,4,2              ## @BITS_PER_LONG
	.comm	_I3C_ADDR_SLOT_STATUS_MASK,4,2  ## @I3C_ADDR_SLOT_STATUS_MASK
	.no_dead_strip	_i3c_bus_get_addr_slot_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i3c_bus_get_addr_slot_status
_i3c_bus_get_addr_slot_status:          ; @i3c_bus_get_addr_slot_status
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _I2C_MAX_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_MAX_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _I3C_ADDR_SLOT_RSVD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I3C_ADDR_SLOT_RSVD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
	lsl	w8, w1, #1
	ldr	x9, [x0]
Lloh6:
	adrp	x10, _BITS_PER_LONG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BITS_PER_LONG@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	sdiv	w11, w8, w10
	ldr	w9, [x9, w11, sxtw #2]
	msub	w8, w11, w10, w8
	asr	w8, w9, w8
Lloh9:
	adrp	x9, _I3C_ADDR_SLOT_STATUS_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _I3C_ADDR_SLOT_STATUS_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_MAX_ADDR,4,2               ; @I2C_MAX_ADDR
	.comm	_I3C_ADDR_SLOT_RSVD,4,2         ; @I3C_ADDR_SLOT_RSVD
	.comm	_BITS_PER_LONG,4,2              ; @BITS_PER_LONG
	.comm	_I3C_ADDR_SLOT_STATUS_MASK,4,2  ; @I3C_ADDR_SLOT_STATUS_MASK
	.no_dead_strip	_i3c_bus_get_addr_slot_status
.subsections_via_symbols
