	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_siw_pbl_get_buffer             ## -- Begin function siw_pbl_get_buffer
	.p2align	4, 0x90
_siw_pbl_get_buffer:                    ## @siw_pbl_get_buffer
	.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
	.cfi_offset %rbx, -24
	movq	%rsi, %rax
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movl	(%rcx), %r8d
	jmp	LBB0_3
LBB0_1:
	xorl	%r8d, %r8d
LBB0_3:
	movslq	(%rdi), %rsi
	cmpl	%esi, %r8d
	jge	LBB0_12
## %bb.4:
	movq	8(%rdi), %r10
	movslq	%r8d, %r9
	leaq	(%r9,%r9,2), %rdi
	leaq	(%r10,%rdi,8), %rdi
	addq	$16, %rdi
	subq	%rsi, %r9
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-16(%rdi), %rsi
	movq	-8(%rdi), %r10
	leaq	(%r10,%rsi), %rbx
	cmpq	%rax, %rbx
	jg	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	decq	%r11
	addq	$24, %rdi
	cmpq	%r11, %r9
	jne	LBB0_5
LBB0_12:
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.13:
	movl	$0, (%rdx)
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_6:
	subq	%rsi, %rax
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	subl	%eax, %r10d
	movl	%r10d, (%rdx)
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movl	%r8d, %edx
	subq	%r11, %rdx
	movl	%edx, (%rcx)
LBB0_10:
	addq	(%rdi), %rax
LBB0_15:
	popq	%rbx
	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	_siw_pbl_get_buffer             ; -- Begin function siw_pbl_get_buffer
	.p2align	2
_siw_pbl_get_buffer:                    ; @siw_pbl_get_buffer
	.cfi_startproc
; %bb.0:
	cbz	x3, LBB0_2
; %bb.1:
	ldr	w8, [x3]
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	ldrsw	x10, [x0]
	cmp	w8, w10
	b.ge	LBB0_7
; %bb.4:
	ldr	x9, [x0, #8]
	mov	w11, #24
	smaddl	x9, w8, w11, x9
	add	x9, x9, #16
	sub	x10, x10, w8, sxtw
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x12, x11, [x9, #-16]
	add	x13, x11, x12
	cmp	x13, x1
	b.gt	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w8, #1
	add	x9, x9, #24
	subs	x10, x10, #1
	b.ne	LBB0_5
LBB0_7:
	mov	x0, #0
	cbz	x2, LBB0_9
; %bb.8:
	str	wzr, [x2]
LBB0_9:
	ret
LBB0_10:
	sub	x10, x1, x12
	cbz	x2, LBB0_12
; %bb.11:
	sub	w11, w11, w10
	str	w11, [x2]
LBB0_12:
	cbz	x3, LBB0_14
; %bb.13:
	str	w8, [x3]
LBB0_14:
	ldr	x8, [x9]
	add	x0, x8, x10
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
