	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_kernel                    ## -- Begin function send_kernel
	.p2align	4, 0x90
_send_kernel:                           ## @send_kernel
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_open
	movl	%eax, %r14d
	cmpl	$-1, %eax
	je	LBB0_1
LBB0_2:
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_lseek
	movl	%eax, %ebx
	cmpl	$2097153, %eax                  ## imm = 0x200001
	jl	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_do_exit
LBB0_4:
	movl	%ebx, %edi
	callq	_htole32
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -88(%rbp)
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_lseek
	movslq	%ebx, %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	callq	_printf
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	addl	%ebx, %r15d
	cmpl	$4, %r15d
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %rax
	leaq	(%rax,%rbp), %rsi
	addq	$-88, %rsi
	movl	$4, %edx
	subl	%eax, %edx
	movl	%r13d, %edi
	callq	_write
	movl	%eax, %ebx
	movl	%r13d, %edi
	callq	_tcdrain
	cmpl	$-1, %ebx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	callq	_send_kernel.cold.4
	jmp	LBB0_7
LBB0_8:
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	$4, %edx
	subl	%ebx, %edx
	movl	%r13d, %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_read
	addl	%eax, %ebx
	cmpl	$4, %ebx
	jl	LBB0_9
## %bb.10:
	movl	-64(%rbp), %eax
	movl	-60(%rbp), %ecx
	shll	$24, %eax
	shll	$16, %ecx
	orl	%eax, %ecx
	movl	-56(%rbp), %eax
	shll	$8, %eax
	orl	%ecx, %eax
	orl	-52(%rbp), %eax
	cltq
	cmpq	%rax, -80(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_12
## %bb.11:
	movl	%r13d, %edi
	callq	_send_kernel.cold.3
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	movq	%rsp, %r12
	movq	_BUF_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%r14), %edx
	movl	%ebx, %edi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_read
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%eax, %ebx
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=2
	addl	%r12d, %r14d
	subl	%r12d, %ebx
	jle	LBB0_22
LBB0_19:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%r14d, %rsi
	addq	%r15, %rsi
	movl	%r13d, %edi
	movl	%ebx, %edx
	callq	_write
	movl	%eax, %r12d
	movl	%r13d, %edi
	callq	_tcdrain
	cmpl	$-1, %r12d
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	movl	%r13d, %edi
	callq	_send_kernel.cold.1
	jmp	LBB0_21
LBB0_1:
	movq	%r12, %rdi
	callq	_perror
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_do_exit
	jmp	LBB0_2
LBB0_14:
	movl	%r13d, %edi
	callq	_send_kernel.cold.2
LBB0_15:
	movq	%r12, %rsp
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_fprintf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function send_kernel.cold.1
_send_kernel.cold.1:                    ## @send_kernel.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_perror
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_do_exit
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function send_kernel.cold.2
_send_kernel.cold.2:                    ## @send_kernel.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	L_.str.4(%rip), %rdi
	callq	_perror
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_do_exit
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function send_kernel.cold.3
_send_kernel.cold.3:                    ## @send_kernel.cold.3
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_perror
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_do_exit
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function send_kernel.cold.4
_send_kernel.cold.4:                    ## @send_kernel.cold.4
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_perror
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_do_exit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kernel too big\n"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.1:                               ## @.str.1
	.asciz	"### sending kernel %s [%zu byte]\n"

L_.str.2:                               ## @.str.2
	.asciz	"write()"

L_.str.3:                               ## @.str.3
	.asciz	"size check error"

	.comm	_BUF_SIZE,4,2                   ## @BUF_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"read()"

L_.str.5:                               ## @.str.5
	.asciz	"### finished sending\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_kernel                    ; -- Begin function send_kernel
	.p2align	2
_send_kernel:                           ; @send_kernel
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_open
	mov	x20, x0
	cmn	w0, #1
	b.eq	LBB0_19
LBB0_1:
Lloh6:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, #0
	bl	_lseek
	mov	x23, x0
Lloh9:
	adrp	x24, _stderr@GOTPAGE
Lloh10:
	ldr	x24, [x24, _stderr@GOTPAGEOFF]
	cmp	w0, #512, lsl #12               ; =2097152
	b.le	LBB0_3
; %bb.2:
	ldr	w0, [x24]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
Lloh13:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_do_exit
LBB0_3:
	mov	x0, x23
	bl	_htole32
	mov	x21, x0
	stur	x0, [x29, #-112]
Lloh16:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, #0
	bl	_lseek
	sxtw	x2, w23
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_printf
	mov	w23, #0
	sub	x25, x29, #112
	mov	w26, #4
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w22, w23
	cmp	w23, #4
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x25, w23, sxtw
	sub	w2, w26, w23
	mov	x0, x19
	bl	_write
	mov	x22, x0
	mov	x0, x19
	bl	_tcdrain
	cmn	w22, #1
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_send_kernel.cold.4
	b	LBB0_4
LBB0_7:
	mov	w22, #0
	stp	xzr, xzr, [x29, #-104]
	mov	w23, #4
	sub	x25, x29, #104
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w23, w22
	stp	x25, x8, [sp, #-16]!
	mov	x0, x19
	bl	_read
	add	sp, sp, #16
	add	w22, w0, w22
	cmp	w22, #4
	b.lt	LBB0_8
; %bb.9:
	ldp	w8, w9, [x29, #-104]
	lsl	w9, w9, #16
	orr	w8, w9, w8, lsl #24
	ldp	w9, w10, [x29, #-96]
	orr	w8, w8, w9, lsl #8
	orr	w8, w8, w10
	cmp	x21, w8, sxtw
	b.ne	LBB0_20
LBB0_10:
Lloh21:
	adrp	x25, _BUF_SIZE@GOTPAGE
Lloh22:
	ldr	x25, [x25, _BUF_SIZE@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	sp, x23
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	mov	x23, sp
	ldr	w8, [x25]
	mov	x9, x8
Lloh23:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh24:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x26, x9, x8
	mov	sp, x26
	ldr	w8, [x25]
	stp	x26, x8, [sp, #-16]!
	mov	x0, x20
	bl	_read
	add	sp, sp, #16
	cbz	w0, LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x21, x0
	cmn	w0, #1
	b.eq	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w21, #1
	b.lt	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w27, #0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	sub	w21, w21, w22
	add	w27, w22, w27
	cmp	w21, #0
	b.le	LBB0_11
LBB0_17:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x26, w27, sxtw
	mov	x0, x19
	mov	x2, x21
	bl	_write
	mov	x22, x0
	mov	x0, x19
	bl	_tcdrain
	cmn	w22, #1
	b.ne	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	x0, x19
	bl	_send_kernel.cold.1
	b	LBB0_16
LBB0_19:
	mov	x0, x22
	bl	_perror
Lloh25:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_do_exit
	b	LBB0_1
LBB0_20:
	mov	x0, x19
	bl	_send_kernel.cold.3
	b	LBB0_10
LBB0_21:
	mov	x0, x19
	bl	_send_kernel.cold.2
LBB0_22:
	mov	sp, x23
	ldr	w0, [x24]
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function send_kernel.cold.1
_send_kernel.cold.1:                    ; @send_kernel.cold.1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh33:
	adrp	x0, l_.str.2@PAGE
Lloh34:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_perror
Lloh35:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	bl	_OUTLINED_FUNCTION_1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	b	_OUTLINED_FUNCTION_0
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function send_kernel.cold.2
_send_kernel.cold.2:                    ; @send_kernel.cold.2
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh38:
	adrp	x0, l_.str.4@PAGE
Lloh39:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_perror
Lloh40:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	bl	_OUTLINED_FUNCTION_1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	b	_OUTLINED_FUNCTION_0
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function send_kernel.cold.3
_send_kernel.cold.3:                    ; @send_kernel.cold.3
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh43:
	adrp	x0, l_.str.3@PAGE
Lloh44:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_perror
Lloh45:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	bl	_OUTLINED_FUNCTION_1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	b	_OUTLINED_FUNCTION_0
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function send_kernel.cold.4
_send_kernel.cold.4:                    ; @send_kernel.cold.4
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh48:
	adrp	x0, l_.str.2@PAGE
Lloh49:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_perror
Lloh50:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_do_exit
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0:                   ; @OUTLINED_FUNCTION_0 Tail Call
	.cfi_startproc
; %bb.0:
	ldp	x20, x19, [sp], #32
	ret
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function OUTLINED_FUNCTION_1
_OUTLINED_FUNCTION_1:                   ; @OUTLINED_FUNCTION_1 Thunk
	.cfi_startproc
; %bb.0:
	mov	x0, x19
	b	_do_exit
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kernel too big\n"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.1:                               ; @.str.1
	.asciz	"### sending kernel %s [%zu byte]\n"

l_.str.2:                               ; @.str.2
	.asciz	"write()"

l_.str.3:                               ; @.str.3
	.asciz	"size check error"

	.comm	_BUF_SIZE,4,2                   ; @BUF_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"read()"

l_.str.5:                               ; @.str.5
	.asciz	"### finished sending\n"

.subsections_via_symbols
