	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_option_blksize                 ## -- Begin function option_blksize
	.p2align	4, 0x90
_option_blksize:                        ## @option_blksize
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_options@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_OPT_BLKSIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	shlq	$4, %rcx
	cmpq	$0, 8(%rax,%rcx)
	je	LBB0_17
## %bb.1:
	movl	%edi, %r14d
	movq	$4, -56(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	js	LBB0_8
## %bb.2:
	movq	(%rbx), %r12
	movq	(%r13), %rbx
	movq	%rbx, %rax
	shlq	$4, %rax
	movq	8(%r12,%rax), %rdi
	callq	_atoi
	movl	%eax, %r15d
	movq	_BLKSIZE_MIN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jl	LBB0_9
## %bb.3:
	movq	_BLKSIZE_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jg	LBB0_9
## %bb.4:
	movl	-44(%rbp), %ecx
	cmpl	%ecx, %r15d
	jle	LBB0_14
## %bb.5:
	movq	_acting_as_client@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.6:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_tftp_log
	jmp	LBB0_11
LBB0_8:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_tftp_log
	movq	_acting_as_client@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	setne	%bl
	jmp	LBB0_18
LBB0_9:
	movq	_acting_as_client@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.10:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_tftp_log
LBB0_11:
	movq	_EBADOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_send_error
	movl	$1, %ebx
	jmp	LBB0_18
LBB0_12:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r15d, %edx
	jmp	LBB0_16
LBB0_13:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_tftp_log
	movl	-44(%rbp), %r15d
	movq	_options@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	(%r13), %rbx
LBB0_14:
	shlq	$4, %rbx
	addq	%r12, %rbx
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_asprintf
	movq	_segsize@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	addl	$4, %r15d
	movq	_pktsize@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	movq	_debug@GOTPCREL(%rip), %rax
	movq	_DEBUG_OPTIONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_17
## %bb.15:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_options@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %edx
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
LBB0_16:
	xorl	%eax, %eax
	callq	_tftp_log
	jmp	LBB0_18
LBB0_17:
	xorl	%ebx, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$24, %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_BLKSIZE,8,3                ## @OPT_BLKSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"net.inet.udp.maxdgram"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"sysctl: net.inet.udp.maxdgram"

	.comm	_acting_as_client,8,3           ## @acting_as_client
	.comm	_BLKSIZE_MIN,4,2                ## @BLKSIZE_MIN
	.comm	_BLKSIZE_MAX,4,2                ## @BLKSIZE_MAX
L_.str.2:                               ## @.str.2
	.asciz	"Invalid blocksize (%d bytes), aborting"

	.comm	_EBADOP,4,2                     ## @EBADOP
	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.3:                               ## @.str.3
	.asciz	"Invalid blocksize (%d bytes), ignoring request"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid blocksize (%d bytes), net.inet.udp.maxdgram sysctl limits it to %ld bytes.\n"

L_.str.5:                               ## @.str.5
	.asciz	"%d"

	.comm	_segsize,4,2                    ## @segsize
	.comm	_pktsize,4,2                    ## @pktsize
	.comm	_debug,4,2                      ## @debug
	.comm	_DEBUG_OPTIONS,4,2              ## @DEBUG_OPTIONS
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
L_.str.6:                               ## @.str.6
	.asciz	"Setting blksize to '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_option_blksize                 ; -- Begin function option_blksize
	.p2align	2
_option_blksize:                        ; @option_blksize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x21, _options@GOTPAGE
Lloh1:
	ldr	x21, [x21, _options@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _OPT_BLKSIZE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _OPT_BLKSIZE@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x8, x8, x9, lsl #4
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x19, x0
	mov	w8, #4
	str	x8, [sp, #16]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #28
	add	x2, sp, #16
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	tbnz	x0, #63, LBB0_5
; %bb.2:
	ldr	x23, [x21]
	ldr	x24, [x22]
	add	x8, x23, x24, lsl #4
	ldr	x0, [x8, #8]
	bl	_atoi
	mov	x20, x0
Lloh6:
	adrp	x8, _BLKSIZE_MIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BLKSIZE_MIN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _BLKSIZE_MAX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BLKSIZE_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #0, ge
	b.le	LBB0_6
; %bb.3:
Lloh12:
	adrp	x8, _acting_as_client@GOTPAGE
Lloh13:
	ldr	x8, [x8, _acting_as_client@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.4:
Lloh15:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_5:
Lloh20:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_tftp_log
Lloh25:
	adrp	x8, _acting_as_client@GOTPAGE
Lloh26:
	ldr	x8, [x8, _acting_as_client@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_16
LBB0_6:
	ldr	w8, [sp, #28]
	cmp	w20, w8
	b.le	LBB0_12
; %bb.7:
Lloh28:
	adrp	x9, _acting_as_client@GOTPAGE
Lloh29:
	ldr	x9, [x9, _acting_as_client@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cbz	x9, LBB0_11
; %bb.8:
Lloh31:
	adrp	x9, _LOG_ERR@GOTPAGE
Lloh32:
	ldr	x9, [x9, _LOG_ERR@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x9]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	stp	x20, x8, [sp]
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_9:
	bl	_tftp_log
Lloh36:
	adrp	x8, _EBADOP@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EBADOP@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_send_error
	mov	w0, #1
	b	LBB0_16
LBB0_10:
Lloh39:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_11:
Lloh44:
	adrp	x9, _LOG_WARNING@GOTPAGE
Lloh45:
	ldr	x9, [x9, _LOG_WARNING@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x9]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	stp	x20, x8, [sp]
Lloh47:
	adrp	x1, l_.str.4@PAGE
Lloh48:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_tftp_log
	ldr	w20, [sp, #28]
	ldr	x23, [x21]
	ldr	x24, [x22]
LBB0_12:
	add	x0, x23, x24, lsl #4
Lloh49:
	adrp	x1, l_.str.5@PAGE
Lloh50:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x20
	bl	_asprintf
Lloh51:
	adrp	x8, _segsize@GOTPAGE
Lloh52:
	ldr	x8, [x8, _segsize@GOTPAGEOFF]
Lloh53:
	str	w20, [x8]
	add	w8, w20, #4
Lloh54:
	adrp	x9, _pktsize@GOTPAGE
Lloh55:
	ldr	x9, [x9, _pktsize@GOTPAGEOFF]
Lloh56:
	adrp	x10, _debug@GOTPAGE
Lloh57:
	ldr	x10, [x10, _debug@GOTPAGEOFF]
Lloh58:
	str	w8, [x9]
Lloh59:
	ldr	w8, [x10]
Lloh60:
	adrp	x9, _DEBUG_OPTIONS@GOTPAGE
Lloh61:
	ldr	x9, [x9, _DEBUG_OPTIONS@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.13:
Lloh63:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh64:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	x9, [x22]
	lsl	x9, x9, #4
	ldr	w8, [x8, x9]
	str	x8, [sp]
Lloh66:
	adrp	x1, l_.str.6@PAGE
Lloh67:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_14:
	bl	_tftp_log
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh59
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh58
	.loh AdrpLdrGotStr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_options,8,3                    ; @options
	.comm	_OPT_BLKSIZE,8,3                ; @OPT_BLKSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"net.inet.udp.maxdgram"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"sysctl: net.inet.udp.maxdgram"

	.comm	_acting_as_client,8,3           ; @acting_as_client
	.comm	_BLKSIZE_MIN,4,2                ; @BLKSIZE_MIN
	.comm	_BLKSIZE_MAX,4,2                ; @BLKSIZE_MAX
l_.str.2:                               ; @.str.2
	.asciz	"Invalid blocksize (%d bytes), aborting"

	.comm	_EBADOP,4,2                     ; @EBADOP
	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.3:                               ; @.str.3
	.asciz	"Invalid blocksize (%d bytes), ignoring request"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid blocksize (%d bytes), net.inet.udp.maxdgram sysctl limits it to %ld bytes.\n"

l_.str.5:                               ; @.str.5
	.asciz	"%d"

	.comm	_segsize,4,2                    ; @segsize
	.comm	_pktsize,4,2                    ; @pktsize
	.comm	_debug,4,2                      ; @debug
	.comm	_DEBUG_OPTIONS,4,2              ; @DEBUG_OPTIONS
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
l_.str.6:                               ; @.str.6
	.asciz	"Setting blksize to '%s'"

.subsections_via_symbols
