	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibmveth_encode_mac_addr
_ibmveth_encode_mac_addr:               ## @ibmveth_encode_mac_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	leaq	-1(%rax), %rdx
	movl	%eax, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdx
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
	jmp	LBB0_10
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	andl	$-4, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addq	$4, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_5
## %bb.6:
	movl	-16(%rdi,%rdx,4), %esi
	movl	-12(%rdi,%rdx,4), %eax
	shll	$16, %esi
	shll	$8, %eax
	orl	%esi, %eax
	orl	-8(%rdi,%rdx,4), %eax
	shll	$8, %eax
	orl	-4(%rdi,%rdx,4), %eax
	testq	%rcx, %rcx
	je	LBB0_10
LBB0_8:
	leaq	(%rdi,%rdx,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	shll	$8, %eax
	orl	(%rdx,%rsi,4), %eax
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_9
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_ibmveth_encode_mac_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibmveth_encode_mac_addr
_ibmveth_encode_mac_addr:               ; @ibmveth_encode_mac_addr
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0], #4
	orr	w8, w10, w8, lsl #8
	subs	x9, x9, #1
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x8
	ret
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_ibmveth_encode_mac_addr
.subsections_via_symbols
