	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_phyregister
_set_phyregister:                       ## @set_phyregister
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_strtol
	movq	-48(%rbp), %rbx
	movl	$1, %r13d
	cmpq	%r15, %rbx
	je	LBB0_6
## %bb.1:
	cmpb	$46, (%rbx)
	jne	LBB0_6
## %bb.2:
	movl	%eax, %r12d
	incq	%rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_strtol
	movq	-48(%rbp), %rdi
	cmpq	%rdi, %rbx
	je	LBB0_6
## %bb.3:
	movl	%eax, %r15d
	cmpb	$61, (%rdi)
	jne	LBB0_5
## %bb.4:
	incq	%rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_write_phyregister
LBB0_5:
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_read_phyregister
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_printf
	xorl	%r13d, %r13d
LBB0_6:
	movl	%r13d, %eax
	addq	$8, %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	"\treg %d.0x%02x=0x%04x\n"

	.no_dead_strip	_set_phyregister
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_phyregister
_set_phyregister:                       ; @set_phyregister
	.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	x21, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x8, x21
	b.eq	LBB0_6
; %bb.1:
	ldrb	w9, [x8]
	cmp	w9, #46
	b.ne	LBB0_6
; %bb.2:
	mov	x20, x0
	add	x22, x8, #1
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x22, x8
	b.eq	LBB0_6
; %bb.3:
	mov	x21, x0
	ldrb	w9, [x8]
	cmp	w9, #61
	b.ne	LBB0_5
; %bb.4:
	add	x0, x8, #1
	mov	x1, #0
	mov	w2, #0
	bl	_strtoul
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_write_phyregister
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_read_phyregister
	mov	x3, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_printf
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #1
LBB0_7:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\treg %d.0x%02x=0x%04x\n"

	.no_dead_strip	_set_phyregister
.subsections_via_symbols
