	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _format_mac_addr
__format_mac_addr:                      ## @_format_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
	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	%rdi, %r14
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movl	%ecx, %r15d
	movq	%rdx, %r12
	decl	%r15d
	movzbl	(%rdx), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_scnprintf
	movslq	%eax, %rbx
	movq	%r14, %r13
	addq	%r14, %rbx
	testl	%r15d, %r15d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.3:
	xorl	%r14d, %r14d
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edx
	subl	%ebx, %edx
	addl	%r12d, %edx
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strlcpy
	movslq	%eax, %r15
	addq	%rbx, %r15
	movl	%r13d, %esi
	subl	%r15d, %esi
	addl	%r12d, %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movzbl	1(%rax,%r14), %ecx
	incq	%r14
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rdx
	callq	_scnprintf
	movslq	%eax, %rbx
	addq	%r15, %rbx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	cmpq	%r14, %r15
	jne	LBB0_4
LBB0_5:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_1:
	movq	%r14, %rbx
LBB0_6:
	subq	%r14, %rbx
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02x"

L_.str.1:                               ## @.str.1
	.asciz	":"

	.no_dead_strip	__format_mac_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _format_mac_addr
__format_mac_addr:                      ; @_format_mac_addr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	subs	w24, w3, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, x2
	mov	x20, x1
	ldrb	w3, [x2]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_scnprintf
	add	x21, x19, w0, sxtw
	cbz	w24, LBB0_5
; %bb.2:
	add	x25, x22, #1
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w19, w21
	add	w2, w8, w20
	mov	x0, x21
	mov	x1, x22
	bl	_strlcpy
	add	x21, x21, w0, sxtw
	sub	w8, w19, w21
	add	w1, w8, w20
	ldrb	w3, [x25], #1
	mov	x0, x21
	mov	x2, x23
	bl	_scnprintf
	add	x21, x21, w0, sxtw
	subs	x24, x24, #1
	b.ne	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x21, x19
LBB0_5:
	sub	x0, x21, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02x"

l_.str.1:                               ; @.str.1
	.asciz	":"

	.no_dead_strip	__format_mac_addr
.subsections_via_symbols
