	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_usblim
_show_usblim:                           ## @show_usblim
	.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	%rdx, %rbx
	callq	_dev_get_drvdata
	movl	(%rax), %edi
	movq	_PCF50633_REG_MBCC7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pcf50633_reg_read
	movq	_PCF50633_MBCC7_USB_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movq	_PCF50633_MBCC7_USB_1000mA@GOTPCREL(%rip), %rcx
	movl	$1000, %edx                     ## imm = 0x3E8
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_PCF50633_MBCC7_USB_500mA@GOTPCREL(%rip), %rcx
	movl	$500, %edx                      ## imm = 0x1F4
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_PCF50633_MBCC7_USB_100mA@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	(%rcx), %rax
	movl	$100, %edx
	cmovnel	%esi, %edx
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCF50633_REG_MBCC7,4,2         ## @PCF50633_REG_MBCC7
	.comm	_PCF50633_MBCC7_USB_MASK,8,3    ## @PCF50633_MBCC7_USB_MASK
	.comm	_PCF50633_MBCC7_USB_1000mA,8,3  ## @PCF50633_MBCC7_USB_1000mA
	.comm	_PCF50633_MBCC7_USB_500mA,8,3   ## @PCF50633_MBCC7_USB_500mA
	.comm	_PCF50633_MBCC7_USB_100mA,8,3   ## @PCF50633_MBCC7_USB_100mA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

	.no_dead_strip	_show_usblim
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_usblim
_show_usblim:                           ; @show_usblim
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_dev_get_drvdata
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _PCF50633_REG_MBCC7@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCF50633_REG_MBCC7@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pcf50633_reg_read
Lloh3:
	adrp	x8, _PCF50633_MBCC7_USB_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCF50633_MBCC7_USB_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	x8, x8, x0
Lloh6:
	adrp	x9, _PCF50633_MBCC7_USB_1000mA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCF50633_MBCC7_USB_1000mA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w2, #1000
	b	LBB0_5
LBB0_2:
Lloh9:
	adrp	x9, _PCF50633_MBCC7_USB_500mA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PCF50633_MBCC7_USB_500mA@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w2, #500
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x9, _PCF50633_MBCC7_USB_100mA@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PCF50633_MBCC7_USB_100mA@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #100
	csel	w2, w8, wzr, eq
LBB0_5:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sprintf
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PCF50633_REG_MBCC7,4,2         ; @PCF50633_REG_MBCC7
	.comm	_PCF50633_MBCC7_USB_MASK,8,3    ; @PCF50633_MBCC7_USB_MASK
	.comm	_PCF50633_MBCC7_USB_1000mA,8,3  ; @PCF50633_MBCC7_USB_1000mA
	.comm	_PCF50633_MBCC7_USB_500mA,8,3   ; @PCF50633_MBCC7_USB_500mA
	.comm	_PCF50633_MBCC7_USB_100mA,8,3   ; @PCF50633_MBCC7_USB_100mA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

	.no_dead_strip	_show_usblim
.subsections_via_symbols
