	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setxferbuf                     ## -- Begin function setxferbuf
	.p2align	4, 0x90
_setxferbuf:                            ## @setxferbuf
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	cmpl	$2, %edi
	jne	LBB0_1
## %bb.2:
	movq	(%r14), %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_1
## %bb.7:
	movq	_RATE_ALL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_RATE_PUT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_RATE_GET@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ebx
	movq	8(%r14), %rdi
	callq	_strsuftoi
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.9:
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_1:
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_UPRINTF
	movl	$-1, %ebx
LBB0_17:
	movq	_code@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	movq	_RATE_PUT@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_13
## %bb.12:
	movq	_sndbuf_size@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_13:
	movq	_RATE_GET@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_14
## %bb.15:
	movq	_rcvbuf_size@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_16
LBB0_14:
	movq	_rcvbuf_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_16:
	movq	_ttyout@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_sndbuf_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: %s size\n"

	.comm	_code,4,2                       ## @code
L_.str.1:                               ## @.str.1
	.asciz	"sndbuf"

	.comm	_RATE_PUT,4,2                   ## @RATE_PUT
L_.str.2:                               ## @.str.2
	.asciz	"rcvbuf"

	.comm	_RATE_GET,4,2                   ## @RATE_GET
L_.str.3:                               ## @.str.3
	.asciz	"xferbuf"

	.comm	_RATE_ALL,4,2                   ## @RATE_ALL
	.comm	_ttyout,4,2                     ## @ttyout
L_.str.4:                               ## @.str.4
	.asciz	"%s: size must be positive.\n"

	.comm	_sndbuf_size,4,2                ## @sndbuf_size
	.comm	_rcvbuf_size,4,2                ## @rcvbuf_size
L_.str.5:                               ## @.str.5
	.asciz	"Socket buffer sizes: send %d, receive %d.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setxferbuf                     ; -- Begin function setxferbuf
	.p2align	2
_setxferbuf:                            ; @setxferbuf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	cmp	w0, #2
	b.ne	LBB0_10
; %bb.1:
	ldr	x20, [x19]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
Lloh2:
	adrp	x21, _RATE_PUT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _RATE_PUT@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbnz	x0, LBB0_10
; %bb.4:
Lloh8:
	adrp	x8, _RATE_ALL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RATE_ALL@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	x8, x21
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _RATE_GET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RATE_GET@GOTPAGEOFF]
LBB0_7:
	ldr	w20, [x8]
	ldr	x0, [x19, #8]
	bl	_strsuftoi
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.8:
	cbnz	w0, LBB0_12
; %bb.9:
Lloh12:
	adrp	x8, _ttyout@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_10:
	ldr	x1, [x19]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_UPRINTF
	mov	w8, #-1
LBB0_11:
Lloh19:
	adrp	x9, _code@GOTPAGE
Lloh20:
	ldr	x9, [x9, _code@GOTPAGEOFF]
Lloh21:
	str	w8, [x9]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
	ldr	w8, [x21]
Lloh22:
	adrp	x9, _sndbuf_size@GOTPAGE
Lloh23:
	ldr	x9, [x9, _sndbuf_size@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_14
; %bb.13:
	str	w0, [x9]
LBB0_14:
Lloh24:
	adrp	x8, _RATE_GET@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RATE_GET@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_16
; %bb.15:
Lloh27:
	adrp	x8, _rcvbuf_size@GOTPAGE
Lloh28:
	ldr	x8, [x8, _rcvbuf_size@GOTPAGEOFF]
Lloh29:
	str	w0, [x8]
	b	LBB0_17
LBB0_16:
Lloh30:
	adrp	x8, _rcvbuf_size@GOTPAGE
Lloh31:
	ldr	x8, [x8, _rcvbuf_size@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
LBB0_17:
Lloh33:
	adrp	x8, _ttyout@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	ldr	w9, [x9]
	stp	x9, x0, [sp]
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x8
	bl	_fprintf
	mov	w8, #0
	b	LBB0_11
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: %s size\n"

	.comm	_code,4,2                       ; @code
l_.str.1:                               ; @.str.1
	.asciz	"sndbuf"

	.comm	_RATE_PUT,4,2                   ; @RATE_PUT
l_.str.2:                               ; @.str.2
	.asciz	"rcvbuf"

	.comm	_RATE_GET,4,2                   ; @RATE_GET
l_.str.3:                               ; @.str.3
	.asciz	"xferbuf"

	.comm	_RATE_ALL,4,2                   ; @RATE_ALL
	.comm	_ttyout,4,2                     ; @ttyout
l_.str.4:                               ; @.str.4
	.asciz	"%s: size must be positive.\n"

	.comm	_sndbuf_size,4,2                ; @sndbuf_size
	.comm	_rcvbuf_size,4,2                ; @rcvbuf_size
l_.str.5:                               ; @.str.5
	.asciz	"Socket buffer sizes: send %d, receive %d.\n"

.subsections_via_symbols
