	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_init_parameters
_check_init_parameters:                 ## @check_init_parameters
	.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
	movq	(%rdi), %rax
	movq	_SPEED_10000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.4:
	movq	24(%rdi), %rax
	movq	_MAX_PACKET_ALIGNMENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, (%rax)
	jle	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_19
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
LBB0_19:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_20
LBB0_7:
	movq	_MAX_INTER_PACKET_GAP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, 8(%rax)
	jg	LBB0_10
## %bb.8:
	cmpq	%rsi, 16(%rax)
	jg	LBB0_10
## %bb.9:
	cmpq	%rsi, 24(%rax)
	jle	LBB0_11
LBB0_10:
	leaq	L_.str.3(%rip), %rdi
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_11:
	movq	_MAX_RETRANSMISSION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, 32(%rax)
	jle	LBB0_13
## %bb.12:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_6
LBB0_13:
	movq	_MAX_COLLISION_WINDOW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, 40(%rax)
	jle	LBB0_15
## %bb.14:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_6
LBB0_15:
	cmpl	$0, 20(%rdi)
	je	LBB0_16
## %bb.17:
	xorl	%ebx, %ebx
	cmpl	$0, 16(%rdi)
	jne	LBB0_21
## %bb.18:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_19
LBB0_16:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_SPEED_10000,8,3                ## @SPEED_10000
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1G MAC driver supports 1G or lower speeds\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Ethernet MAC Must have a valid MAC Address\n"

	.comm	_MAX_PACKET_ALIGNMENT,8,3       ## @MAX_PACKET_ALIGNMENT
L_.str.2:                               ## @.str.2
	.asciz	"packetAlignmentPadding can't be > than %d\n"

	.comm	_MAX_INTER_PACKET_GAP,8,3       ## @MAX_INTER_PACKET_GAP
L_.str.3:                               ## @.str.3
	.asciz	"Inter packet gap can't be greater than %d\n"

	.comm	_MAX_RETRANSMISSION,8,3         ## @MAX_RETRANSMISSION
L_.str.4:                               ## @.str.4
	.asciz	"maxRetransmission can't be greater than %d\n"

	.comm	_MAX_COLLISION_WINDOW,8,3       ## @MAX_COLLISION_WINDOW
L_.str.5:                               ## @.str.5
	.asciz	"collisionWindow can't be greater than %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"uninitialized exception_cb\n"

L_.str.7:                               ## @.str.7
	.asciz	"uninitialized event_cb\n"

	.no_dead_strip	_check_init_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_init_parameters
_check_init_parameters:                 ; @check_init_parameters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SPEED_10000@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPEED_10000@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x0, #24]
	ldr	x10, [x8]
Lloh3:
	adrp	x9, _MAX_PACKET_ALIGNMENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_PACKET_ALIGNMENT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x10, x9
	b.le	LBB0_6
; %bb.3:
	str	x9, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_5:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_6:
	ldr	x10, [x8, #8]
Lloh12:
	adrp	x9, _MAX_INTER_PACKET_GAP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MAX_INTER_PACKET_GAP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x10, x9
	b.gt	LBB0_9
; %bb.7:
	ldr	x10, [x8, #16]
	cmp	x10, x9
	b.gt	LBB0_9
; %bb.8:
	ldr	x10, [x8, #24]
	cmp	x10, x9
	b.le	LBB0_12
LBB0_9:
	str	x9, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_10:
	bl	_pr_err
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_12:
	ldr	x10, [x8, #32]
Lloh20:
	adrp	x9, _MAX_RETRANSMISSION@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MAX_RETRANSMISSION@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x10, x9
	b.le	LBB0_14
; %bb.13:
	str	x9, [sp]
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_14:
	ldr	x9, [x8, #40]
Lloh25:
	adrp	x8, _MAX_COLLISION_WINDOW@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MAX_COLLISION_WINDOW@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x9, x8
	b.le	LBB0_16
; %bb.15:
	str	x8, [sp]
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_10
LBB0_16:
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_19
; %bb.17:
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_20
; %bb.18:
	mov	w0, #0
	b	LBB0_11
LBB0_19:
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_10
LBB0_20:
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_SPEED_10000,8,3                ; @SPEED_10000
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1G MAC driver supports 1G or lower speeds\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Ethernet MAC Must have a valid MAC Address\n"

	.comm	_MAX_PACKET_ALIGNMENT,8,3       ; @MAX_PACKET_ALIGNMENT
l_.str.2:                               ; @.str.2
	.asciz	"packetAlignmentPadding can't be > than %d\n"

	.comm	_MAX_INTER_PACKET_GAP,8,3       ; @MAX_INTER_PACKET_GAP
l_.str.3:                               ; @.str.3
	.asciz	"Inter packet gap can't be greater than %d\n"

	.comm	_MAX_RETRANSMISSION,8,3         ; @MAX_RETRANSMISSION
l_.str.4:                               ; @.str.4
	.asciz	"maxRetransmission can't be greater than %d\n"

	.comm	_MAX_COLLISION_WINDOW,8,3       ; @MAX_COLLISION_WINDOW
l_.str.5:                               ; @.str.5
	.asciz	"collisionWindow can't be greater than %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"uninitialized exception_cb\n"

l_.str.7:                               ; @.str.7
	.asciz	"uninitialized event_cb\n"

	.no_dead_strip	_check_init_parameters
.subsections_via_symbols
