	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmu_dotrev_str               ## -- Begin function brcmu_dotrev_str
	.p2align	4, 0x90
_brcmu_dotrev_str:                      ## @brcmu_dotrev_str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	%edi, %edx
	movl	%edi, %ecx
	shrl	$24, %ecx
	movl	%edi, %eax
	shrl	$16, %eax
	movzbl	%al, %r8d
	movzbl	%dh, %eax
	andl	$255, %edx
	je	LBB0_4
## %bb.3:
	movq	_BRCMU_DOTREV_LEN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%edx, (%rsp)
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_1:
	movq	_BRCMU_DOTREV_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_8
LBB0_4:
	movq	_BRCMU_DOTREV_LEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rdx
LBB0_6:
	movq	%rbx, %rdi
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_snprintf
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMU_DOTREV_LEN,4,2           ## @BRCMU_DOTREV_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown"

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

L_.str.2:                               ## @.str.2
	.asciz	"%d.%d.%d"

L_.str.3:                               ## @.str.3
	.asciz	"%d.%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmu_dotrev_str               ; -- Begin function brcmu_dotrev_str
	.p2align	2
_brcmu_dotrev_str:                      ; @brcmu_dotrev_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	cbz	w0, LBB0_3
; %bb.1:
	lsr	w8, w0, #24
	ubfx	w9, w0, #16, #8
	ubfx	w10, w0, #8, #8
	ands	w11, w0, #0xff
	b.eq	LBB0_4
; %bb.2:
Lloh0:
	adrp	x12, _BRCMU_DOTREV_LEN@GOTPAGE
Lloh1:
	ldr	x12, [x12, _BRCMU_DOTREV_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x12]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_3:
Lloh5:
	adrp	x8, _BRCMU_DOTREV_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BRCMU_DOTREV_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x11, _BRCMU_DOTREV_LEN@GOTPAGE
Lloh11:
	ldr	x11, [x11, _BRCMU_DOTREV_LEN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x11]
	cbz	w10, LBB0_6
; %bb.5:
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x8, x9, [sp]
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_snprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMU_DOTREV_LEN,4,2           ; @BRCMU_DOTREV_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown"

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

l_.str.2:                               ; @.str.2
	.asciz	"%d.%d.%d"

l_.str.3:                               ; @.str.3
	.asciz	"%d.%d"

.subsections_via_symbols
