	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlan_set_mac
_tlan_set_mac:                          ## @tlan_set_mac
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r14
	addl	%esi, %esi
	leal	(%rsi,%rsi,2), %eax
	movslq	%eax, %r15
	movq	_TLAN_AREG_0@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	%r15, %rsi
	movl	(%rdi), %edi
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rbx
	movsbl	(%rdx), %edx
	callq	_tlan_dio_write8
	movl	(%r14), %edi
	movq	%r15, %rsi
	orq	$1, %rsi
	addq	(%r12), %rsi
	movsbl	1(%rbx), %edx
	callq	_tlan_dio_write8
	movl	(%r14), %edi
	movq	(%r12), %rax
	leaq	(%r15,%rax), %rsi
	addq	$2, %rsi
	movsbl	2(%rbx), %edx
	callq	_tlan_dio_write8
	movl	(%r14), %edi
	movq	(%r12), %rax
	leaq	(%r15,%rax), %rsi
	addq	$3, %rsi
	movsbl	3(%rbx), %edx
	callq	_tlan_dio_write8
	movl	(%r14), %edi
	movq	(%r12), %rax
	leaq	(%r15,%rax), %rsi
	addq	$4, %rsi
	movsbl	4(%rbx), %edx
	callq	_tlan_dio_write8
	movl	(%r14), %edi
	movq	(%r12), %rax
	leaq	(%r15,%rax), %rsi
	addq	$5, %rsi
	movsbl	5(%rbx), %edx
	jmp	LBB0_3
LBB0_2:
	xorl	%edx, %edx
	callq	_tlan_dio_write8
	movl	(%r14), %edi
	movq	%r15, %rsi
	orq	$1, %rsi
	addq	(%r12), %rsi
	xorl	%edx, %edx
	callq	_tlan_dio_write8
	movl	(%r14), %edi
	movq	(%r12), %rax
	leaq	(%r15,%rax), %rsi
	addq	$2, %rsi
	xorl	%edx, %edx
	callq	_tlan_dio_write8
	movl	(%r14), %edi
	movq	(%r12), %rax
	leaq	(%r15,%rax), %rsi
	addq	$3, %rsi
	xorl	%edx, %edx
	callq	_tlan_dio_write8
	movl	(%r14), %edi
	movq	(%r12), %rax
	leaq	(%r15,%rax), %rsi
	addq	$4, %rsi
	xorl	%edx, %edx
	callq	_tlan_dio_write8
	movl	(%r14), %edi
	movq	(%r12), %rax
	leaq	(%r15,%rax), %rsi
	addq	$5, %rsi
	xorl	%edx, %edx
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tlan_dio_write8                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TLAN_AREG_0,8,3                ## @TLAN_AREG_0
	.no_dead_strip	_tlan_set_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlan_set_mac
_tlan_set_mac:                          ; @tlan_set_mac
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	add	w8, w1, w1, lsl #1
	lsl	w8, w8, #1
	sxtw	x21, w8
	ldr	w0, [x0]
Lloh0:
	adrp	x22, _TLAN_AREG_0@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TLAN_AREG_0@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x1, x8, x21
	cbz	x2, LBB0_2
; %bb.1:
	mov	x20, x2
	ldrsb	w2, [x2]
	bl	_tlan_dio_write8
	ldr	w0, [x19]
	ldr	x8, [x22]
	orr	x9, x21, #0x1
	add	x1, x9, x8
	ldrsb	w2, [x20, #1]
	bl	_tlan_dio_write8
	ldr	w0, [x19]
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x1, x8, #2
	ldrsb	w2, [x20, #2]
	bl	_tlan_dio_write8
	ldr	w0, [x19]
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x1, x8, #3
	ldrsb	w2, [x20, #3]
	bl	_tlan_dio_write8
	ldr	w0, [x19]
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x1, x8, #4
	ldrsb	w2, [x20, #4]
	bl	_tlan_dio_write8
	ldr	w0, [x19]
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x1, x8, #5
	ldrsb	w2, [x20, #5]
	b	LBB0_3
LBB0_2:
	bl	_tlan_dio_write8
	ldr	w0, [x19]
	ldr	x8, [x22]
	orr	x9, x21, #0x1
	add	x1, x9, x8
	mov	w2, #0
	bl	_tlan_dio_write8
	ldr	w0, [x19]
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x1, x8, #2
	mov	w2, #0
	bl	_tlan_dio_write8
	ldr	w0, [x19]
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x1, x8, #3
	mov	w2, #0
	bl	_tlan_dio_write8
	ldr	w0, [x19]
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x1, x8, #4
	mov	w2, #0
	bl	_tlan_dio_write8
	ldr	w0, [x19]
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x1, x8, #5
	mov	w2, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_tlan_dio_write8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TLAN_AREG_0,8,3                ; @TLAN_AREG_0
	.no_dead_strip	_tlan_set_mac
.subsections_via_symbols
