	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_set_uevent_bits            ## -- Begin function qib_set_uevent_bits
	.p2align	4, 0x90
_qib_set_uevent_bits:                   ## @qib_set_uevent_bits
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	addq	$8, %rdi
	callq	_spin_lock_irqsave
	movq	(%r15), %rdx
	movl	(%rdx), %eax
	movl	4(%rdx), %ecx
	xorl	%r14d, %r14d
	cmpl	%ecx, %eax
	jae	LBB0_9
## %bb.1:
	movq	16(%rdx), %rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rax,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_3
	jmp	LBB0_9
LBB0_4:
	movq	8(%rbx), %rsi
	movl	$1, %r14d
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.5:
	movl	%r12d, %edi
	callq	_set_bit
	cmpl	$2, (%rbx)
	jl	LBB0_9
## %bb.6:
	movl	$1, %r13d
	movl	$4, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	addq	%r14, %rsi
	movl	%r12d, %edi
	callq	_set_bit
	incq	%r13
	movslq	(%rbx), %rax
	addq	$4, %r14
	cmpq	%rax, %r13
	jl	LBB0_7
## %bb.8:
	movl	$1, %r14d
LBB0_9:
	movq	(%r15), %rdi
	addq	$8, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_set_uevent_bits            ; -- Begin function qib_set_uevent_bits
	.p2align	2
_qib_set_uevent_bits:                   ; @qib_set_uevent_bits
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	add	x0, x8, #8
	bl	_spin_lock_irqsave
	ldr	x8, [x19]
	ldp	w9, w10, [x8]
	cmp	w9, w10
	b.hs	LBB0_4
; %bb.1:
	ldr	x8, [x8, #16]
	add	x8, x8, x9, lsl #3
	sub	x9, x10, x9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x8]
	cbnz	x21, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #8
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w20, #0
	b	LBB0_10
LBB0_5:
	ldr	x1, [x21, #8]
	cbz	x1, LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_set_bit
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.7:
	mov	w22, #1
	mov	w23, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x1, x8, x23
	mov	x0, x20
	bl	_set_bit
	add	x22, x22, #1
	ldrsw	x8, [x21]
	add	x23, x23, #4
	cmp	x22, x8
	b.lt	LBB0_8
LBB0_9:
	mov	w20, #1
LBB0_10:
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_spin_unlock_irqrestore
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
