	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pwm_dumpregs
_pwm_dumpregs:                          ## @pwm_dumpregs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_pwm@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	(%rdi), %r15
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_PWM_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pwm_readl
	movl	%eax, %r12d
	movq	(%r14), %rdi
	movq	_PWM_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pwm_readl
	movl	%eax, %r13d
	movq	(%r14), %rdi
	movq	_PWM_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pwm_readl
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_dev_dbg
	movslq	(%rbx), %r15
	movq	_PWM_CMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pwm_channel_readl
	movl	%eax, %r12d
	movq	_PWM_CDTY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pwm_channel_readl
	movl	%eax, %r13d
	movq	_PWM_CPRD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pwm_channel_readl
	movl	%eax, %r14d
	movq	_PWM_CCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pwm_channel_readl
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%r14d, %r9d
	xorl	%eax, %eax
	callq	_dev_dbg
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pwm,8,3                        ## @pwm
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: mr %08x, sr %08x, imr %08x\n"

	.comm	_PWM_MR,4,2                     ## @PWM_MR
	.comm	_PWM_SR,4,2                     ## @PWM_SR
	.comm	_PWM_IMR,4,2                    ## @PWM_IMR
L_.str.1:                               ## @.str.1
	.asciz	"pwm ch%d - mr %08x, dty %u, prd %u, cnt %u\n"

	.comm	_PWM_CMR,4,2                    ## @PWM_CMR
	.comm	_PWM_CDTY,4,2                   ## @PWM_CDTY
	.comm	_PWM_CPRD,4,2                   ## @PWM_CPRD
	.comm	_PWM_CCNT,4,2                   ## @PWM_CCNT
	.no_dead_strip	_pwm_dumpregs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pwm_dumpregs
_pwm_dumpregs:                          ; @pwm_dumpregs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _pwm@GOTPAGE
Lloh1:
	ldr	x24, [x24, _pwm@GOTPAGEOFF]
	ldr	x0, [x24]
	ldr	x19, [x0]
Lloh2:
	adrp	x8, _PWM_MR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PWM_MR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_pwm_readl
	mov	x22, x0
	ldr	x0, [x24]
Lloh5:
	adrp	x8, _PWM_SR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PWM_SR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_pwm_readl
	mov	x23, x0
	ldr	x0, [x24]
Lloh8:
	adrp	x8, _PWM_IMR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PWM_IMR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_pwm_readl
	mov	x5, x0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	bl	_dev_dbg
	ldrsw	x21, [x20]
Lloh13:
	adrp	x8, _PWM_CMR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PWM_CMR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pwm_channel_readl
	mov	x22, x0
Lloh16:
	adrp	x8, _PWM_CDTY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PWM_CDTY@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pwm_channel_readl
	mov	x23, x0
Lloh19:
	adrp	x8, _PWM_CPRD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PWM_CPRD@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pwm_channel_readl
	mov	x24, x0
Lloh22:
	adrp	x8, _PWM_CCNT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PWM_CCNT@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pwm_channel_readl
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_dev_dbg
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_pwm,8,3                        ; @pwm
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: mr %08x, sr %08x, imr %08x\n"

	.comm	_PWM_MR,4,2                     ; @PWM_MR
	.comm	_PWM_SR,4,2                     ; @PWM_SR
	.comm	_PWM_IMR,4,2                    ; @PWM_IMR
l_.str.1:                               ; @.str.1
	.asciz	"pwm ch%d - mr %08x, dty %u, prd %u, cnt %u\n"

	.comm	_PWM_CMR,4,2                    ; @PWM_CMR
	.comm	_PWM_CDTY,4,2                   ; @PWM_CDTY
	.comm	_PWM_CPRD,4,2                   ; @PWM_CPRD
	.comm	_PWM_CCNT,4,2                   ; @PWM_CCNT
	.no_dead_strip	_pwm_dumpregs
.subsections_via_symbols
