	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b1_load_config                 ## -- Begin function b1_load_config
	.p2align	4, 0x90
_b1_load_config:                        ## @b1_load_config
	.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	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FWBUF_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%r12), %r12d
	movq	(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	8(%r15), %r15d
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	_SEND_CONFIG@GOTPCREL(%rip), %rbx
	movzbl	(%rbx), %esi
	movl	%r12d, %edi
	callq	_b1_put_byte
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_b1_put_word
	movzbl	(%rbx), %esi
	movl	%r12d, %edi
	callq	_b1_put_byte
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_b1_put_word
	movl	(%r13), %ebx
LBB0_2:
	cmpl	%ebx, %r15d
	jle	LBB0_3
## %bb.4:
	movq	_SEND_CONFIG@GOTPCREL(%rip), %r13
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	subl	%ebx, %r15d
	movslq	%ebx, %rax
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addq	%rax, %rsi
	cmpl	%eax, %r15d
	movq	%rcx, %r13
	jle	LBB0_13
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	%ebx, %edx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_9
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	callq	_memcpy
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movq	%r13, %rcx
	movq	_FWBUF_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	testl	%ebx, %ebx
	jle	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rcx), %esi
	movl	%r12d, %edi
	movq	%rcx, %rbx
	callq	_b1_put_byte
	movslq	%r15d, %r15
	movzbl	(%r14,%r15), %esi
	movl	%r12d, %edi
	callq	_b1_put_byte
	movzbl	1(%r14,%r15), %esi
	movl	%r12d, %edi
	callq	_b1_put_byte
	movzbl	2(%r14,%r15), %esi
	movl	%r12d, %edi
	callq	_b1_put_byte
	movzbl	3(%r14,%r15), %esi
	addq	$4, %r15
	movl	%r12d, %edi
	callq	_b1_put_byte
	movq	%rbx, %rcx
	movl	(%r13), %ebx
	cmpl	%r15d, %ebx
	jg	LBB0_11
	jmp	LBB0_12
LBB0_3:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_13:
	movl	%r15d, %eax
	xorl	%r15d, %r15d
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_32
## %bb.14:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_17
LBB0_7:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_32
LBB0_16:
	movq	%r14, %rdi
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	callq	_memcpy
LBB0_17:
	testl	%r13d, %r13d
	jle	LBB0_32
## %bb.18:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_19 Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movzbl	(%r14,%rax), %eax
LBB0_31:                                ##   in Loop: Header=BB0_19 Depth=1
	movzbl	%al, %esi
	movl	%r12d, %edi
	callq	_b1_put_byte
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	cmpl	%r13d, %ebx
	jge	LBB0_32
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	_SEND_CONFIG@GOTPCREL(%rip), %rax
	movzbl	(%rax), %esi
	movl	%r12d, %edi
	callq	_b1_put_byte
	cmpl	%r13d, %ebx
	jge	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movzbl	(%r14,%rax), %eax
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_19 Depth=1
	xorl	%eax, %eax
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	movzbl	%al, %esi
	movl	%r12d, %edi
	callq	_b1_put_byte
	cmpl	%r13d, %ebx
	jge	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movzbl	(%r14,%rax), %eax
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	xorl	%eax, %eax
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	movzbl	%al, %esi
	movl	%r12d, %edi
	callq	_b1_put_byte
	cmpl	%r13d, %ebx
	jge	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_19 Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movzbl	(%r14,%rax), %eax
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	xorl	%eax, %eax
LBB0_28:                                ##   in Loop: Header=BB0_19 Depth=1
	movzbl	%al, %esi
	movl	%r12d, %edi
	callq	_b1_put_byte
	cmpl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	jl	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_19 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FWBUF_SIZE,4,2                 ## @FWBUF_SIZE
	.comm	_SEND_CONFIG,1,0                ## @SEND_CONFIG
	.comm	_EFAULT,4,2                     ## @EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b1_load_config                 ; -- Begin function b1_load_config
	.p2align	2
_b1_load_config:                        ; @b1_load_config
	.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, #16
	mov	x22, x1
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	x25, _FWBUF_SIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _FWBUF_SIZE@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x9, x2
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	ldr	w20, [x0]
	ldr	x23, [x1]
	ldr	w21, [x1, #8]
Lloh7:
	adrp	x24, _SEND_CONFIG@GOTPAGE
Lloh8:
	ldr	x24, [x24, _SEND_CONFIG@GOTPAGEOFF]
	cbz	w21, LBB0_3
; %bb.1:
	ldrb	w1, [x24]
	mov	x0, x20
	bl	_b1_put_byte
	mov	x0, x20
	mov	w1, #1
	bl	_b1_put_word
	ldrb	w1, [x24]
	mov	x0, x20
	bl	_b1_put_byte
	mov	x0, x20
	mov	x1, x21
	bl	_b1_put_word
	ldr	w2, [x25]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, w2, sxtw
	sub	w21, w21, w2
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w21, w2
	b.le	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x23
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_copy_from_user
	cbz	x0, LBB0_7
	b	LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x23
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x25]
	cmp	w2, #1
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w1, [x24]
	mov	x0, x20
	bl	_b1_put_byte
	sxtw	x26, w26
	add	x27, x19, x26
	ldrb	w1, [x27]
	mov	x0, x20
	bl	_b1_put_byte
	ldrb	w1, [x27, #1]
	mov	x0, x20
	bl	_b1_put_byte
	ldrb	w1, [x27, #2]
	mov	x0, x20
	bl	_b1_put_byte
	add	x26, x26, #4
	ldrb	w1, [x27, #3]
	mov	x0, x20
	bl	_b1_put_byte
	ldr	w2, [x25]
	cmp	w2, w26
	b.gt	LBB0_9
	b	LBB0_2
LBB0_10:
	cbz	w21, LBB0_30
; %bb.11:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_14
; %bb.12:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_copy_from_user
	cbz	x0, LBB0_15
LBB0_13:
Lloh9:
	adrp	x8, _EFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_31
LBB0_14:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_memcpy
LBB0_15:
	cmp	w21, #1
	b.lt	LBB0_30
; %bb.16:
	mov	w22, #0
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	ldrb	w1, [x19, w22, sxtw]
	add	w22, w22, #1
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x20
	bl	_b1_put_byte
	cmp	w22, w21
	b.ge	LBB0_30
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w1, [x24]
	mov	x0, x20
	bl	_b1_put_byte
	cmp	w22, w21
	b.ge	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldrb	w1, [x19, w22, sxtw]
	add	w22, w22, #1
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w1, #0
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x20
	bl	_b1_put_byte
	cmp	w22, w21
	b.ge	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	ldrb	w1, [x19, w22, sxtw]
	add	w22, w22, #1
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w1, #0
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x20
	bl	_b1_put_byte
	cmp	w22, w21
	b.ge	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	ldrb	w1, [x19, w22, sxtw]
	add	w22, w22, #1
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w1, #0
LBB0_28:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x20
	bl	_b1_put_byte
	cmp	w22, w21
	b.lt	LBB0_17
; %bb.29:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w1, #0
	b	LBB0_18
LBB0_30:
	mov	w0, #0
LBB0_31:
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.32:
	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_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FWBUF_SIZE,4,2                 ; @FWBUF_SIZE
	.comm	_SEND_CONFIG,1,0                ; @SEND_CONFIG
	.comm	_EFAULT,4,2                     ; @EFAULT
.subsections_via_symbols
