	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sja1105_static_config_load
_sja1105_static_config_load:            ## @sja1105_static_config_load
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_sja1105_static_config_free
	movq	(%r15), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	_sja1105_static_config_init
	testl	%eax, %eax
	je	LBB0_1
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, %rdi
	callq	_sja1105_init_mac_settings
	testl	%eax, %eax
	js	LBB0_11
## %bb.2:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_sja1105_init_mii_settings
	testl	%eax, %eax
	js	LBB0_11
## %bb.3:
	movq	%r15, %rdi
	callq	_sja1105_init_static_fdb
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:
	movq	%r15, %rdi
	callq	_sja1105_init_static_vlan
	testl	%eax, %eax
	js	LBB0_11
## %bb.5:
	movq	%r15, %rdi
	callq	_sja1105_init_l2_lookup_params
	testl	%eax, %eax
	js	LBB0_11
## %bb.6:
	movq	%r15, %rdi
	callq	_sja1105_init_l2_forwarding
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	movq	%r15, %rdi
	callq	_sja1105_init_l2_forwarding_params
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:
	movq	%r15, %rdi
	callq	_sja1105_init_l2_policing
	testl	%eax, %eax
	js	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	callq	_sja1105_init_general_params
	testl	%eax, %eax
	js	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_sja1105_init_avb_params
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sja1105_static_config_upload   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sja1105_static_config_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sja1105_static_config_load
_sja1105_static_config_load:            ; @sja1105_static_config_load
	.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
	mov	x20, x1
	mov	x19, x0
	add	x21, x0, #8
	mov	x0, x21
	bl	_sja1105_static_config_free
	ldr	x8, [x19]
	ldp	w2, w1, [x8]
	mov	x0, x21
	bl	_sja1105_static_config_init
	cbz	w0, LBB0_2
LBB0_1:
	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_2:
	mov	x0, x19
	bl	_sja1105_init_mac_settings
	tbnz	w0, #31, LBB0_1
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_sja1105_init_mii_settings
	tbnz	w0, #31, LBB0_1
; %bb.4:
	mov	x0, x19
	bl	_sja1105_init_static_fdb
	tbnz	w0, #31, LBB0_1
; %bb.5:
	mov	x0, x19
	bl	_sja1105_init_static_vlan
	tbnz	w0, #31, LBB0_1
; %bb.6:
	mov	x0, x19
	bl	_sja1105_init_l2_lookup_params
	tbnz	w0, #31, LBB0_1
; %bb.7:
	mov	x0, x19
	bl	_sja1105_init_l2_forwarding
	tbnz	w0, #31, LBB0_1
; %bb.8:
	mov	x0, x19
	bl	_sja1105_init_l2_forwarding_params
	tbnz	w0, #31, LBB0_1
; %bb.9:
	mov	x0, x19
	bl	_sja1105_init_l2_policing
	tbnz	w0, #31, LBB0_1
; %bb.10:
	mov	x0, x19
	bl	_sja1105_init_general_params
	tbnz	w0, #31, LBB0_1
; %bb.11:
	mov	x0, x19
	mov	w1, #0
	bl	_sja1105_init_avb_params
	tbnz	w0, #31, LBB0_1
; %bb.12:
	mov	x0, x19
	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
	b	_sja1105_static_config_upload
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sja1105_static_config_load
.subsections_via_symbols
