	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_mac_addr
_get_mac_addr:                          ## @get_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	xorl	%r13d, %r13d
	xorl	%ecx, %ecx
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %rcx
	movq	(%rcx), %rcx
	movb	%r13b, (%rcx,%rax)
	movq	16(%r15), %rax
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	8(%r15), %ecx
	movq	(%rax), %rax
	addb	%cl, 5(%rax)
	incl	%r12d
	xorl	%ecx, %ecx
	xorl	%r13d, %r13d
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incq	%rbx
	cmpl	%eax, %r12d
	jge	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edx
	testb	%dl, %dl
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movsbl	%dl, %edi
	callq	_hex_to_bin
	testl	%eax, %eax
	js	LBB0_5
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	shll	$4, %r13d
	addl	%eax, %r13d
	movl	$1, %ecx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%ecx, %ecx
	jne	LBB0_8
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$58, (%rbx)
	jne	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r12d, %rax
	movq	_MAIN_PORT@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rcx
	movb	%r13b, (%rcx,%rax)
	movq	%r15, %rax
	jmp	LBB0_11
LBB0_1:
	xorl	%r12d, %r12d
LBB0_13:
	cmpl	%r12d, %eax
	jne	LBB0_16
LBB0_14:
	movq	_MAIN_PORT@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_16
## %bb.15:
	movl	$1, 12(%r15)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r12d, %eax
	je	LBB0_14
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MAIN_PORT,4,2                  ## @MAIN_PORT
	.no_dead_strip	_get_mac_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_mac_addr
_get_mac_addr:                          ; @get_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	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh2:
	adrp	x22, _MAIN_PORT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MAIN_PORT@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x21, x1
	mov	w25, #0
	mov	w9, #0
	mov	w23, #0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	strb	w25, [x8, w23, sxtw]
	ldr	x8, [x19, #16]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w9, #0
	mov	w25, #0
	ldrb	w10, [x19, #8]
	ldr	x8, [x8]
	ldrb	w11, [x8, #5]
	add	w10, w11, w10
	strb	w10, [x8, #5]
	add	w23, w23, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	add	x21, x21, #1
	cmp	w23, w8
	b.ge	LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x21]
	cbz	w10, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtb	w0, w10
	bl	_hex_to_bin
	tbnz	w0, #31, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w0, w25, lsl #4
	mov	w9, #1
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w9, LBB0_10
	b	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x21]
	cmp	w8, #58
	b.ne	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	strb	w25, [x8, w23, sxtw]
	mov	x8, x19
	b	LBB0_3
LBB0_12:
	mov	w23, #0
	b	LBB0_14
LBB0_13:
	ldr	w8, [x24]
LBB0_14:
	ldr	w9, [x22]
	cmp	w8, w23
	ccmp	w9, w20, #0, eq
	b.ne	LBB0_16
; %bb.15:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_16:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MAIN_PORT,4,2                  ; @MAIN_PORT
	.no_dead_strip	_get_mac_addr
.subsections_via_symbols
