	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aldap_parse_page_control       ## -- Begin function aldap_parse_page_control
	.p2align	4, 0x90
_aldap_parse_page_control:              ## @aldap_parse_page_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	$0, -24(%rbp)
	movl	$-1, -32(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	callq	_ber_scanf_elements
	movq	-40(%rbp), %rsi
	movq	(%rbx), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ber_set_readbuf
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ber_read_elements
	movq	%rax, %r14
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rcx
	movq	%rax, %rdx
	callq	_ber_scanf_elements
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	%edi, 8(%rbx)
	callq	_malloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	-48(%rbp), %rsi
	movl	8(%rbx), %edx
	movq	%rax, %rdi
	callq	_memcpy
	movq	%r14, %rdi
	callq	_ber_free_elements
	leaq	-32(%rbp), %rdi
	callq	_ber_free
	jmp	LBB0_8
LBB0_3:
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_ber_free_elements
LBB0_5:
	leaq	-32(%rbp), %rdi
	callq	_ber_free
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	callq	_ber_free_elements
	leaq	-32(%rbp), %rdi
	callq	_ber_free
	movq	%rbx, %rdi
	callq	_free
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ss"

L_.str.1:                               ## @.str.1
	.asciz	"is"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aldap_parse_page_control       ; -- Begin function aldap_parse_page_control
	.p2align	2
_aldap_parse_page_control:              ; @aldap_parse_page_control
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [sp, #16]
	mov	w8, #-1
	str	w8, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #24
	add	x3, sp, #24
	bl	_ber_scanf_elements
	ldr	x1, [sp, #24]
	ldr	x8, [x19]
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_ber_set_readbuf
	add	x0, sp, #8
	mov	x1, #0
	bl	_ber_read_elements
	mov	x20, x0
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x0, [x20, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x3, sp, #32
	mov	x2, x19
	bl	_ber_scanf_elements
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	str	w0, [x19, #8]
	bl	_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x1, [sp, #32]
	ldr	w2, [x19, #8]
	bl	_memcpy
	mov	x0, x20
	bl	_ber_free_elements
	add	x0, sp, #8
	bl	_ber_free
	b	LBB0_8
LBB0_3:
	cbz	x20, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_ber_free_elements
LBB0_5:
	add	x0, sp, #8
	bl	_ber_free
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_ber_free_elements
	add	x0, sp, #8
	bl	_ber_free
	mov	x0, x19
	bl	_free
LBB0_7:
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ss"

l_.str.1:                               ; @.str.1
	.asciz	"is"

.subsections_via_symbols
