	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_new_request1                   ## -- Begin function new_request1
	.p2align	4, 0x90
_new_request1:                          ## @new_request1
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_next_ad_id@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_max_ad_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rax
	jg	LBB0_1
## %bb.4:
	movq	%rdi, %rbx
	leaq	_new_request1.buff(%rip), %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_sprintf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_write_out
	movq	%rbx, %rdi
	callq	_flush_connection_output
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_5
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_3:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_next_ad_id,8,3                 ## @next_ad_id
	.comm	_max_ad_id,8,3                  ## @max_ad_id
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d ads complete, exiting\n"

.zerofill __DATA,__bss,_new_request1.buff,256,4 ## @new_request1.buff
L_.str.1:                               ## @.str.1
	.asciz	"get ad_info%d\r\n"

L_.str.2:                               ## @.str.2
	.asciz	"Requested information about ad %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_new_request1                   ; -- Begin function new_request1
	.p2align	2
_new_request1:                          ; @new_request1
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x21, _next_ad_id@GOTPAGE
Lloh1:
	ldr	x21, [x21, _next_ad_id@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _max_ad_id@GOTPAGE
Lloh3:
	ldr	x9, [x9, _max_ad_id@GOTPAGEOFF]
Lloh4:
	ldr	x2, [x9]
	cmp	x8, x2
	b.gt	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x20, _new_request1.buff@PAGE
Lloh6:
	add	x20, x20, _new_request1.buff@PAGEOFF
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x8
	bl	_sprintf
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_write_out
	mov	x0, x19
	bl	_flush_connection_output
Lloh9:
	adrp	x8, _verbosity@GOTPAGE
Lloh10:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x2, [x21]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fprintf
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh17:
	adrp	x8, _verbosity@GOTPAGE
Lloh18:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.5:
Lloh20:
	adrp	x8, _stderr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_6:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_next_ad_id,8,3                 ; @next_ad_id
	.comm	_max_ad_id,8,3                  ; @max_ad_id
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d ads complete, exiting\n"

.zerofill __DATA,__bss,_new_request1.buff,256,0 ; @new_request1.buff
l_.str.1:                               ; @.str.1
	.asciz	"get ad_info%d\r\n"

l_.str.2:                               ; @.str.2
	.asciz	"Requested information about ad %d\n"

.subsections_via_symbols
