	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kernconfdump
_kernconfdump:                          ## @kernconfdump
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_err
LBB0_2:
	leaq	-56(%rbp), %rsi
	movl	%ebx, %edi
	callq	_fstat
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_4:
	movl	-56(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	callq	_fdopen
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_8:
	movl	$1, %edi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_calloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_10:
	leaq	L_.str.6(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movq	%r14, %rdx
	callq	_asprintf
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_12
## %bb.11:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	movq	-48(%rbp), %rdi
LBB0_12:
	leaq	L_.str.3(%rip), %rsi
	callq	_popen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_14:
	movq	-48(%rbp), %rdi
	callq	_free
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fread
	movq	%rbx, %rdi
	callq	_pclose
	leaq	-64(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.9(%rip), %rsi
	leaq	-60(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	leaq	-72(%rbp), %r8
	leaq	-68(%rbp), %r9
	movq	%r15, %rdi
	callq	_sscanf
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free
	cmpl	$5, %ebx
	je	LBB0_16
## %bb.15:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_16:
	movl	-60(%rbp), %esi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_fseek
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_18:
	cmpl	$0, -36(%rbp)
	je	LBB0_24
## %bb.19:
	xorl	%ebx, %ebx
	movq	_EOF@GOTPCREL(%rip), %r14
	movq	_stdout@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_fgetc
	cmpl	(%r14), %eax
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	(%r15), %esi
	movl	%eax, %edi
	callq	_fputc
	incl	%ebx
	cmpl	-36(%rbp), %ebx
	jb	LBB0_20
	jmp	LBB0_24
LBB0_22:
	subl	-36(%rbp), %ebx
	xorl	%edi, %edi
	cmpl	$-1, %ebx
	sete	%dil
	callq	_assert
LBB0_24:
	movq	%r12, %rdi
	callq	_fclose
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't open file '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"fstat() failed"

L_.str.2:                               ## @.str.2
	.asciz	"'%s' is a directory"

L_.str.3:                               ## @.str.3
	.asciz	"r"

L_.str.4:                               ## @.str.4
	.asciz	"fdopen() failed"

L_.str.5:                               ## @.str.5
	.asciz	"Couldn't allocate memory"

L_.str.6:                               ## @.str.6
	.asciz	"/usr/bin/elfdump -c %s | grep -A 8 kern_conf| tail -5 | cut -d ' ' -f 2 | paste - - - - -"

L_.str.7:                               ## @.str.7
	.asciz	"asprintf() failed"

L_.str.8:                               ## @.str.8
	.asciz	"popen() failed"

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

L_.str.10:                              ## @.str.10
	.asciz	"File %s doesn't contain configuration file. Either unsupported, or not compiled with INCLUDE_CONFIG_FILE"

	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
L_.str.11:                              ## @.str.11
	.asciz	"fseek() failed"

	.comm	_EOF,4,2                        ## @EOF
	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_kernconfdump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kernconfdump
_kernconfdump:                          ; @kernconfdump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_open
	mov	x19, x0
Lloh3:
	adrp	x23, _EXIT_FAILURE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _EXIT_FAILURE@GOTPAGEOFF]
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x23]
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_2:
	add	x1, sp, #40
	mov	x0, x19
	bl	_fstat
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x23]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
LBB0_4:
	ldr	w0, [sp, #40]
	bl	_S_ISDIR
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x23]
	str	x20, [sp]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
LBB0_6:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_fdopen
	mov	x19, x0
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x23]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_err
LBB0_8:
	mov	w0, #1
	mov	w1, #1024
	bl	_calloc
	mov	x21, x0
	cbnz	x0, LBB0_10
; %bb.9:
	ldr	w0, [x23]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_err
LBB0_10:
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_asprintf
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_12
; %bb.11:
	ldr	w0, [x23]
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_errx
	ldr	x0, [sp, #8]
LBB0_12:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_popen
	mov	x22, x0
	cbnz	x0, LBB0_14
; %bb.13:
	ldr	w0, [x23]
Lloh23:
	adrp	x1, l_.str.8@PAGE
Lloh24:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_errx
LBB0_14:
	ldr	x0, [sp, #8]
	bl	_free
	mov	x0, x21
	mov	w1, #1024
	mov	w2, #1
	mov	x3, x22
	bl	_fread
	mov	x0, x22
	bl	_pclose
Lloh25:
	adrp	x1, l_.str.9@PAGE
Lloh26:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #36
	add	x3, sp, #32
	add	x4, sp, #28
	add	x5, sp, #24
	add	x6, sp, #20
	mov	x0, x21
	bl	_sscanf
	mov	x22, x0
	mov	x0, x21
	bl	_free
	cmp	w22, #5
	b.eq	LBB0_16
; %bb.15:
	ldr	w0, [x23]
	str	x20, [sp]
Lloh27:
	adrp	x1, l_.str.10@PAGE
Lloh28:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_errx
LBB0_16:
	ldr	w1, [sp, #36]
Lloh29:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_fseek
	cbz	w0, LBB0_18
; %bb.17:
	ldr	w0, [x23]
Lloh32:
	adrp	x1, l_.str.11@PAGE
Lloh33:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_err
LBB0_18:
	ldr	w8, [sp, #32]
	cbz	w8, LBB0_24
; %bb.19:
	mov	w20, #1
Lloh34:
	adrp	x21, _EOF@GOTPAGE
Lloh35:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
Lloh36:
	adrp	x22, _stdout@GOTPAGE
Lloh37:
	ldr	x22, [x22, _stdout@GOTPAGEOFF]
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_fgetc
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	cbz	w0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w1, [x22]
	bl	_fputc
	ldr	w8, [sp, #32]
	add	w9, w20, #1
	cmp	w20, w8
	mov	x20, x9
	b.lo	LBB0_20
	b	LBB0_24
LBB0_23:
	ldr	w8, [sp, #32]
	cmp	w8, w20
	cset	w0, eq
	bl	_assert
LBB0_24:
	mov	x0, x19
	bl	_fclose
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't open file '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"fstat() failed"

l_.str.2:                               ; @.str.2
	.asciz	"'%s' is a directory"

l_.str.3:                               ; @.str.3
	.asciz	"r"

l_.str.4:                               ; @.str.4
	.asciz	"fdopen() failed"

l_.str.5:                               ; @.str.5
	.asciz	"Couldn't allocate memory"

l_.str.6:                               ; @.str.6
	.asciz	"/usr/bin/elfdump -c %s | grep -A 8 kern_conf| tail -5 | cut -d ' ' -f 2 | paste - - - - -"

l_.str.7:                               ; @.str.7
	.asciz	"asprintf() failed"

l_.str.8:                               ; @.str.8
	.asciz	"popen() failed"

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

l_.str.10:                              ; @.str.10
	.asciz	"File %s doesn't contain configuration file. Either unsupported, or not compiled with INCLUDE_CONFIG_FILE"

	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
l_.str.11:                              ; @.str.11
	.asciz	"fseek() failed"

	.comm	_EOF,4,2                        ; @EOF
	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_kernconfdump
.subsections_via_symbols
