	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_peb_for_wl
_get_peb_for_wl:                        ## @get_peb_for_wl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$20, %rdi
	callq	_rwsem_is_locked
	movl	%eax, %edi
	callq	_ubi_assert
	movq	24(%rbx), %rax
	cmpq	32(%rbx), %rax
	jne	LBB0_3
## %bb.1:
	cmpl	$0, (%rbx)
	jne	LBB0_5
## %bb.4:
	movl	$1, (%rbx)
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_schedule_work
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	8(%rbx), %rcx
	movq	40(%rbx), %rdx
	leaq	1(%rax), %rsi
	movq	%rsi, 24(%rbx)
	movslq	(%rdx,%rax,4), %rax
	movq	(%rcx,%rax,8), %rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_peb_for_wl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_peb_for_wl
_get_peb_for_wl:                        ; @get_peb_for_wl
	.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
	add	x0, x0, #20
	bl	_rwsem_is_locked
	bl	_ubi_assert
	ldp	x8, x9, [x19, #24]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x19]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x19], #16
	mov	x0, x19
	bl	_schedule_work
LBB0_3:
	mov	x0, #0
	b	LBB0_5
LBB0_4:
	ldr	x9, [x19, #40]
	add	x10, x8, #1
	str	x10, [x19, #24]
	ldrsw	x8, [x9, x8, lsl #2]
	ldr	x9, [x19, #8]
	ldr	x0, [x9, x8, lsl #3]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_peb_for_wl
.subsections_via_symbols
