	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcma_chipco_watchdog_get_max_timer
_bcma_chipco_watchdog_get_max_timer:    ## @bcma_chipco_watchdog_get_max_timer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BCMA_CC_CAP_PMU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rcx
	movq	8(%rcx), %rax
	movq	(%rax), %rdx
	movq	_BCMA_CHIP_ID_BCM4706@GOTPCREL(%rip), %rsi
	movl	$-1, %eax
	cmpq	(%rsi), %rdx
	je	LBB0_6
## %bb.3:
	movl	(%rcx), %edx
	movl	$16, %ecx
	cmpl	$26, %edx
	jl	LBB0_5
## %bb.4:
	movl	$24, %ecx
	cmpl	$36, %edx
	jbe	LBB0_5
LBB0_6:
	popq	%rbp
	retq
LBB0_1:
	movl	$28, %ecx
LBB0_5:
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	notl	%eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMA_CC_CAP_PMU,4,2            ## @BCMA_CC_CAP_PMU
	.comm	_BCMA_CHIP_ID_BCM4706,8,3       ## @BCMA_CHIP_ID_BCM4706
	.no_dead_strip	_bcma_chipco_watchdog_get_max_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcma_chipco_watchdog_get_max_timer
_bcma_chipco_watchdog_get_max_timer:    ; @bcma_chipco_watchdog_get_max_timer
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _BCMA_CC_CAP_PMU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BCMA_CC_CAP_PMU@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x9, [x8, #8]
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _BCMA_CHIP_ID_BCM4706@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BCMA_CHIP_ID_BCM4706@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #-1
	ret
LBB0_3:
	mov	w8, #28
	b	LBB0_9
LBB0_4:
	ldr	w8, [x8]
	cmp	w8, #26
	b.ge	LBB0_6
; %bb.5:
	mov	w8, #16
	b	LBB0_9
LBB0_6:
	cmp	w8, #36
	b.ls	LBB0_8
; %bb.7:
	mov	w0, #-1
	ret
LBB0_8:
	mov	w8, #24
LBB0_9:
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMA_CC_CAP_PMU,4,2            ; @BCMA_CC_CAP_PMU
	.comm	_BCMA_CHIP_ID_BCM4706,8,3       ; @BCMA_CHIP_ID_BCM4706
	.no_dead_strip	_bcma_chipco_watchdog_get_max_timer
.subsections_via_symbols
