	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_hardware_param           ## -- Begin function parse_hardware_param
	.p2align	4, 0x90
_parse_hardware_param:                  ## @parse_hardware_param
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_next_token
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.parse_hardware_param(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	$0, -32(%rbp)
	movq	_COLON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %r8d
	movl	$8, %r9d
	callq	_parse_numeric_aggregate
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %r15
	movq	-32(%rbp), %rdx
	cmpq	$9, %rdx
	jb	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_free
	leaq	L_.str.1(%rip), %rdi
	callq	_parse_warn
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_10
LBB0_5:
	movq	%rdx, (%r14)
	movq	8(%r14), %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	-32(%rbp), %rax
	cmpq	$7, %rax
	ja	LBB0_7
## %bb.6:
	leaq	(,%rax,4), %rdi
	addq	8(%r14), %rdi
	movl	$8, %edx
	subl	%eax, %edx
	xorl	%esi, %esi
	callq	_memset
LBB0_7:
	movq	%r15, %rdi
	callq	_free
LBB0_8:
	leaq	-40(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_next_token
	movq	_SEMI@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
LBB0_10:
	callq	_parse_warn
	movq	%rbx, %rdi
	callq	_skip_to_semi
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HTYPE_ETHER,4,2                ## @HTYPE_ETHER
	.comm	_HTYPE_IEEE802,4,2              ## @HTYPE_IEEE802
	.comm	_HTYPE_FDDI,4,2                 ## @HTYPE_FDDI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expecting a network hardware type"

	.comm	_COLON,4,2                      ## @COLON
L_.str.1:                               ## @.str.1
	.asciz	"hardware address too long"

	.comm	_SEMI,4,2                       ## @SEMI
L_.str.2:                               ## @.str.2
	.asciz	"expecting semicolon."

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.parse_hardware_param
l_switch.table.parse_hardware_param:
	.quad	_HTYPE_IEEE802
	.quad	_HTYPE_FDDI
	.quad	_HTYPE_ETHER

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_hardware_param           ; -- Begin function parse_hardware_param
	.p2align	2
_parse_hardware_param:                  ; @parse_hardware_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x0, sp
	mov	x1, x19
	bl	_next_token
	sub	w8, w0, #128
	cmp	w8, #2
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.parse_hardware_param@PAGE
Lloh1:
	add	x9, x9, l_switch.table.parse_hardware_param@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w8, [x8]
	str	w8, [x20, #16]
	str	xzr, [sp, #8]
Lloh2:
	adrp	x8, _COLON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COLON@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, #0
	mov	w4, #16
	mov	w5, #8
	bl	_parse_numeric_aggregate
	cbz	x0, LBB0_11
; %bb.2:
	mov	x21, x0
	ldr	x2, [sp, #8]
	cmp	x2, #9
	b.lo	LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_free
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_parse_warn
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_5:
	str	x2, [x20]
	ldr	x0, [x20, #8]
	mov	x1, x21
	bl	_memcpy
	ldr	x8, [sp, #8]
	cmp	x8, #7
	b.hi	LBB0_7
; %bb.6:
	ldr	x9, [x20, #8]
	add	x0, x9, x8, lsl #2
	mov	w9, #8
	sub	w2, w9, w8
	mov	w1, #0
	bl	_memset
LBB0_7:
	mov	x0, x21
	bl	_free
LBB0_8:
	mov	x0, sp
	mov	x1, x19
	bl	_next_token
Lloh9:
	adrp	x8, _SEMI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEMI@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.9:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_10:
	bl	_parse_warn
	mov	x0, x19
	bl	_skip_to_semi
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HTYPE_ETHER,4,2                ; @HTYPE_ETHER
	.comm	_HTYPE_IEEE802,4,2              ; @HTYPE_IEEE802
	.comm	_HTYPE_FDDI,4,2                 ; @HTYPE_FDDI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expecting a network hardware type"

	.comm	_COLON,4,2                      ; @COLON
l_.str.1:                               ; @.str.1
	.asciz	"hardware address too long"

	.comm	_SEMI,4,2                       ; @SEMI
l_.str.2:                               ; @.str.2
	.asciz	"expecting semicolon."

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.parse_hardware_param
l_switch.table.parse_hardware_param:
	.quad	_HTYPE_IEEE802
	.quad	_HTYPE_FDDI
	.quad	_HTYPE_ETHER

.subsections_via_symbols
