	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carp_status
_carp_status:                           ## @carp_status
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CARP_MAXVHID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$3, %rax
	leaq	(%rax,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leal	(,%rbx,8), %eax
	leal	(%rax,%rax,4), %esi
	movq	%r12, %rdi
	callq	_bzero
	movl	%ebx, (%r12)
	movq	_ifr@GOTPCREL(%rip), %rdx
	movq	%r12, (%rdx)
	movq	_SIOCGVH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$0, (%r12)
	jle	LBB0_8
## %bb.2:
	movq	%r12, %rbx
	addq	$32, %rbx
	leaq	L_.str(%rip), %r14
	movq	_printkeys@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$10, %edi
	callq	_putchar
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	(%r12), %rax
	addq	$40, %rbx
	cmpq	%rax, %r13
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_carp_states@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-24(%rbx), %rcx
	movq	(%rax,%rcx,8), %rsi
	movl	-16(%rbx), %edx
	movl	-12(%rbx), %ecx
	movl	-8(%rbx), %r8d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_7
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CARP_MAXVHID,4,2               ## @CARP_MAXVHID
	.comm	_ifr,8,3                        ## @ifr
	.comm	_SIOCGVH,4,2                    ## @SIOCGVH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tcarp: %s vhid %d advbase %d advskew %d"

	.comm	_carp_states,8,3                ## @carp_states
	.comm	_printkeys,8,3                  ## @printkeys
L_.str.1:                               ## @.str.1
	.asciz	" key \"%s\"\n"

	.no_dead_strip	_carp_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carp_status
_carp_status:                           ; @carp_status
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _CARP_MAXVHID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CARP_MAXVHID@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	add	x8, x21, x21, lsl #2
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7ffffffff0
	sub	x19, x9, x8
	mov	sp, x19
	add	w8, w21, w21, lsl #2
	lsl	w1, w8, #3
	mov	x0, x19
	bl	_bzero
	str	w21, [x19]
Lloh8:
	adrp	x2, _ifr@GOTPAGE
Lloh9:
	ldr	x2, [x2, _ifr@GOTPAGEOFF]
	str	x19, [x2]
Lloh10:
	adrp	x8, _SIOCGVH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIOCGVH@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x22, #0
	add	x23, x19, #16
Lloh13:
	adrp	x24, _carp_states@GOTPAGE
Lloh14:
	ldr	x24, [x24, _carp_states@GOTPAGEOFF]
Lloh15:
	adrp	x20, l_.str@PAGE
Lloh16:
	add	x20, x20, l_.str@PAGEOFF
Lloh17:
	adrp	x25, _printkeys@GOTPAGE
Lloh18:
	ldr	x25, [x25, _printkeys@GOTPAGEOFF]
Lloh19:
	adrp	x21, l_.str.1@PAGE
Lloh20:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #10
	bl	_putchar
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x23, x23, #40
	cmp	x22, x8
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldur	x9, [x23, #-8]
	ldr	x8, [x8, x9, lsl #3]
	ldp	w9, w10, [x23]
	ldr	w11, [x23, #8]
	sub	sp, sp, #32
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
	mov	x0, x20
	bl	_printf
	add	sp, sp, #32
	ldr	x8, [x25]
	cbz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23, #16]
	ldrb	w9, [x8]
	cbz	w9, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x8, [sp, #-16]!
	mov	x0, x21
	bl	_printf
	add	sp, sp, #16
	b	LBB0_4
LBB0_8:
	ldur	x8, [x29, #-72]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_CARP_MAXVHID,4,2               ; @CARP_MAXVHID
	.comm	_ifr,8,3                        ; @ifr
	.comm	_SIOCGVH,4,2                    ; @SIOCGVH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tcarp: %s vhid %d advbase %d advskew %d"

	.comm	_carp_states,8,3                ; @carp_states
	.comm	_printkeys,8,3                  ; @printkeys
l_.str.1:                               ; @.str.1
	.asciz	" key \"%s\"\n"

	.no_dead_strip	_carp_status
.subsections_via_symbols
