	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_option_rollover                ## -- Begin function option_rollover
	.p2align	4, 0x90
_option_rollover:                       ## @option_rollover
	.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	%edi, %r14d
	movq	_options@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_OPT_ROLLOVER@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rdi
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	(%r15), %rax
	movq	(%rbx), %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	_acting_as_client@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	jne	LBB0_4
## %bb.5:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	(%r15), %r14
	movq	(%rbx), %rbx
	shlq	$4, %rbx
	movq	8(%r14,%rbx), %rdi
	callq	_strdup
	movq	%rax, (%r14,%rbx)
	movq	_debug@GOTPCREL(%rip), %rax
	movq	_DEBUG_OPTIONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movq	(%rax,%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	callq	_tftp_log
	jmp	LBB0_10
LBB0_4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
	movq	(%r15), %rax
	movq	(%rbx), %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rdx
	leaq	L_.str.2(%rip), %rsi
	callq	_tftp_log
	cmpq	$0, (%r13)
	je	LBB0_10
## %bb.7:
	movq	_EBADOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_send_error
	movl	$1, %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_options,8,3                    ## @options
	.comm	_OPT_ROLLOVER,8,3               ## @OPT_ROLLOVER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0"

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

	.comm	_acting_as_client,8,3           ## @acting_as_client
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"Bad value for rollover, should be either 0 or 1, received '%s', ignoring request"

	.comm	_EBADOP,4,2                     ## @EBADOP
	.comm	_debug,4,2                      ## @debug
	.comm	_DEBUG_OPTIONS,4,2              ## @DEBUG_OPTIONS
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
L_.str.3:                               ## @.str.3
	.asciz	"Setting rollover to '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_option_rollover                ; -- Begin function option_rollover
	.p2align	2
_option_rollover:                       ; @option_rollover
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _options@GOTPAGE
Lloh1:
	ldr	x20, [x20, _options@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _OPT_ROLLOVER@GOTPAGE
Lloh3:
	ldr	x21, [x21, _OPT_ROLLOVER@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x8, x8, x9, lsl #4
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_8
; %bb.1:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x8, x8, x9, lsl #4
	ldr	x0, [x8, #8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.3:
Lloh8:
	adrp	x22, _acting_as_client@GOTPAGE
Lloh9:
	ldr	x22, [x22, _acting_as_client@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh10:
	adrp	x9, _LOG_ERR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _LOG_ERR@GOTPAGEOFF]
Lloh12:
	adrp	x10, _LOG_WARNING@GOTPAGE
Lloh13:
	ldr	x10, [x10, _LOG_WARNING@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x8, x8, x9, lsl #4
	ldr	x2, [x8, #8]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_tftp_log
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.4:
Lloh16:
	adrp	x8, _EBADOP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EBADOP@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_send_error
	mov	w0, #1
	b	LBB0_8
LBB0_5:
	ldr	x8, [x20]
	ldr	x19, [x21]
	add	x21, x8, x19, lsl #4
	ldr	x0, [x21, #8]
	bl	_strdup
Lloh19:
	adrp	x8, _debug@GOTPAGE
Lloh20:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
	str	x0, [x21]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _DEBUG_OPTIONS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DEBUG_OPTIONS@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh25:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	x8, [x20]
	lsl	x9, x19, #4
	ldr	x2, [x8, x9]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_tftp_log
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_options,8,3                    ; @options
	.comm	_OPT_ROLLOVER,8,3               ; @OPT_ROLLOVER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0"

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

	.comm	_acting_as_client,8,3           ; @acting_as_client
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"Bad value for rollover, should be either 0 or 1, received '%s', ignoring request"

	.comm	_EBADOP,4,2                     ; @EBADOP
	.comm	_debug,4,2                      ; @debug
	.comm	_DEBUG_OPTIONS,4,2              ; @DEBUG_OPTIONS
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
l_.str.3:                               ; @.str.3
	.asciz	"Setting rollover to '%s'"

.subsections_via_symbols
