	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function listdumpdev
_listdumpdev:                           ## @listdumpdev
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r14, -72(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_err
LBB0_2:
	cmpb	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	movq	__PATH_DEVNULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_strlcpy
LBB0_4:
	movq	_verbose@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_8
## %bb.5:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	%rbx, -64(%rbp)
	leaq	L_.str.4(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	leaq	L_.str.5(%rip), %r14
	leaq	L_.str.4(%rip), %r15
	leaq	-64(%rbp), %r13
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rsi), %ebx
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_printf
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_strsep
	movl	%ebx, %esi
	testq	%rax, %rax
	jne	LBB0_7
LBB0_9:
	cmpq	$0, (%r12)
	jne	LBB0_10
	jmp	LBB0_18
LBB0_8:
	movq	%rbx, %rdi
	callq	_puts
	cmpq	$0, (%r12)
	je	LBB0_18
LBB0_10:
	movq	__PATH_NETDUMP@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_11
## %bb.13:
	movl	%eax, %ebx
	movq	_DIOCGKERNELDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	movl	%ebx, %edi
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.15:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_17
LBB0_11:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.12:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_18
LBB0_16:
	movl	-60(%rbp), %edi
	leaq	-52(%rbp), %rsi
	leaq	_listdumpdev.ip(%rip), %r14
	movq	%r14, %rdx
	movl	$200, %ecx
	callq	_inet_ntop
	leaq	L_.str.9(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	-60(%rbp), %edi
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdx
	movl	$200, %ecx
	callq	_inet_ntop
	leaq	L_.str.10(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	-60(%rbp), %edi
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdx
	movl	$200, %ecx
	callq	_inet_ntop
	leaq	L_.str.11(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_17:
	movl	%ebx, %edi
	callq	_close
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_listdumpdev.ip,200,4 ## @listdumpdev.ip
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kern.shutdown.dumpdevname"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
L_.str.1:                               ## @.str.1
	.asciz	"Kernel returned too large of a buffer for '%s'\n"

L_.str.2:                               ## @.str.2
	.asciz	"Sysctl get '%s'\n"

	.comm	__PATH_DEVNULL,4,2              ## @_PATH_DEVNULL
	.comm	_verbose,8,3                    ## @verbose
L_.str.4:                               ## @.str.4
	.asciz	","

L_.str.5:                               ## @.str.5
	.asciz	"%u: %s\n"

	.comm	__PATH_NETDUMP,4,2              ## @_PATH_NETDUMP
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.7:                               ## @.str.7
	.asciz	"opening %s"

	.comm	_DIOCGKERNELDUMP,4,2            ## @DIOCGKERNELDUMP
	.comm	_ENXIO,8,3                      ## @ENXIO
L_.str.8:                               ## @.str.8
	.asciz	"ioctl(DIOCGKERNELDUMP)"

L_.str.9:                               ## @.str.9
	.asciz	"server address: %s\n"

L_.str.10:                              ## @.str.10
	.asciz	"client address: %s\n"

L_.str.11:                              ## @.str.11
	.asciz	"gateway address: %s\n"

L_str:                                  ## @str
	.asciz	"kernel dumps on priority: device"

	.no_dead_strip	_listdumpdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function listdumpdev
_listdumpdev:                           ; @listdumpdev
	.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
	sub	sp, sp, #32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	stur	x20, [x29, #-64]
Lloh8:
	adrp	x21, l_.str@PAGE
Lloh9:
	add	x21, x21, l_.str@PAGEOFF
	sub	x2, x29, #64
	mov	x0, x21
	mov	x1, x19
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cbz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
Lloh16:
	adrp	x10, _EX_OSERR@GOTPAGE
Lloh17:
	ldr	x10, [x10, _EX_OSERR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x10]
Lloh19:
	adrp	x10, l_.str.2@PAGE
Lloh20:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh21:
	adrp	x11, l_.str.1@PAGE
Lloh22:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x8, x9
	csel	x1, x11, x10, eq
	str	x21, [sp, #-16]!
	bl	_err
	add	sp, sp, #16
LBB0_2:
	ldrb	w8, [x19]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh23:
	adrp	x8, __PATH_DEVNULL@GOTPAGE
Lloh24:
	ldr	x8, [x8, __PATH_DEVNULL@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_strlcpy
LBB0_4:
Lloh26:
	adrp	x21, _verbose@GOTPAGE
Lloh27:
	ldr	x21, [x21, _verbose@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.5:
Lloh28:
	adrp	x0, l_str@PAGE
Lloh29:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	stur	x19, [x29, #-56]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	sub	x0, x29, #56
	bl	_strsep
	cbz	x0, LBB0_8
; %bb.6:
	mov	w8, #0
Lloh32:
	adrp	x19, l_.str.5@PAGE
Lloh33:
	add	x19, x19, l_.str.5@PAGEOFF
Lloh34:
	adrp	x20, l_.str.4@PAGE
Lloh35:
	add	x20, x20, l_.str.4@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	w22, w8, #1
	stp	x8, x0, [sp, #-16]!
	mov	x0, x19
	bl	_printf
	add	sp, sp, #16
	sub	x0, x29, #56
	mov	x1, x20
	bl	_strsep
	mov	x8, x22
	cbnz	x0, LBB0_7
LBB0_8:
	ldr	x8, [x21]
	cbnz	x8, LBB0_10
	b	LBB0_18
LBB0_9:
	mov	x0, x19
	bl	_puts
	ldr	x8, [x21]
	cbz	x8, LBB0_18
LBB0_10:
Lloh36:
	adrp	x20, __PATH_NETDUMP@GOTPAGE
Lloh37:
	ldr	x20, [x20, __PATH_NETDUMP@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh38:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh39:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_open
	tbnz	w0, #31, LBB0_14
; %bb.11:
	mov	x19, x0
Lloh41:
	adrp	x8, _DIOCGKERNELDUMP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DIOCGKERNELDUMP@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	sub	x21, x29, #56
	sub	x2, x29, #56
	bl	_ioctl
	cbz	x0, LBB0_16
; %bb.12:
Lloh44:
	adrp	x8, _errno@GOTPAGE
Lloh45:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
Lloh47:
	adrp	x9, _ENXIO@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ENXIO@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.13:
Lloh50:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
Lloh53:
	adrp	x1, l_.str.8@PAGE
Lloh54:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_err
	b	LBB0_17
LBB0_14:
Lloh55:
	adrp	x8, _errno@GOTPAGE
Lloh56:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh57:
	ldr	x8, [x8]
Lloh58:
	adrp	x9, _ENOENT@GOTPAGE
Lloh59:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.15:
Lloh61:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh62:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
	ldr	w8, [x20]
	str	x8, [sp, #-16]!
Lloh64:
	adrp	x1, l_.str.7@PAGE
Lloh65:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
	add	sp, sp, #16
	b	LBB0_18
LBB0_16:
	ldur	w0, [x29, #-52]
	add	x1, x21, #12
Lloh66:
	adrp	x20, _listdumpdev.ip@PAGE
Lloh67:
	add	x20, x20, _listdumpdev.ip@PAGEOFF
	mov	x2, x20
	mov	w3, #200
	bl	_inet_ntop
	str	x0, [sp, #-16]!
Lloh68:
	adrp	x0, l_.str.9@PAGE
Lloh69:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	add	sp, sp, #16
	ldur	w0, [x29, #-52]
	add	x1, x21, #8
	mov	x2, x20
	mov	w3, #200
	bl	_inet_ntop
	str	x0, [sp, #-16]!
Lloh70:
	adrp	x0, l_.str.10@PAGE
Lloh71:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
	add	sp, sp, #16
	ldur	w0, [x29, #-52]
	sub	x1, x29, #56
	mov	x2, x20
	mov	w3, #200
	bl	_inet_ntop
	str	x0, [sp, #-16]!
Lloh72:
	adrp	x0, l_.str.11@PAGE
Lloh73:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_printf
	add	sp, sp, #16
LBB0_17:
	mov	x0, x19
	bl	_close
LBB0_18:
	ldur	x8, [x29, #-40]
Lloh74:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh75:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh76:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	sub	sp, x29, #32
	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_20:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_listdumpdev.ip,200,0 ; @listdumpdev.ip
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kern.shutdown.dumpdevname"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
l_.str.1:                               ; @.str.1
	.asciz	"Kernel returned too large of a buffer for '%s'\n"

l_.str.2:                               ; @.str.2
	.asciz	"Sysctl get '%s'\n"

	.comm	__PATH_DEVNULL,4,2              ; @_PATH_DEVNULL
	.comm	_verbose,8,3                    ; @verbose
l_.str.4:                               ; @.str.4
	.asciz	","

l_.str.5:                               ; @.str.5
	.asciz	"%u: %s\n"

	.comm	__PATH_NETDUMP,4,2              ; @_PATH_NETDUMP
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.7:                               ; @.str.7
	.asciz	"opening %s"

	.comm	_DIOCGKERNELDUMP,4,2            ; @DIOCGKERNELDUMP
	.comm	_ENXIO,8,3                      ; @ENXIO
l_.str.8:                               ; @.str.8
	.asciz	"ioctl(DIOCGKERNELDUMP)"

l_.str.9:                               ; @.str.9
	.asciz	"server address: %s\n"

l_.str.10:                              ; @.str.10
	.asciz	"client address: %s\n"

l_.str.11:                              ; @.str.11
	.asciz	"gateway address: %s\n"

l_str:                                  ; @str
	.asciz	"kernel dumps on priority: device"

	.no_dead_strip	_listdumpdev
.subsections_via_symbols
