	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwmon_attributes_visible
_hwmon_attributes_visible:              ## @hwmon_attributes_visible
	.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
	callq	_kobj_to_dev
	movq	%rax, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %rcx
	movl	(%rbx), %r9d
	movq	8(%rax), %rax
	movq	_PM_METHOD_DPM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_7
## %bb.1:
	xorl	%eax, %eax
	cmpq	_sensor_dev_attr_pwm1_min@GOTPCREL(%rip), %rbx
	je	LBB0_27
## %bb.2:
	cmpq	_sensor_dev_attr_pwm1_max@GOTPCREL(%rip), %rbx
	je	LBB0_27
## %bb.3:
	cmpq	_sensor_dev_attr_pwm1_enable@GOTPCREL(%rip), %rbx
	je	LBB0_27
## %bb.4:
	cmpq	_sensor_dev_attr_pwm1@GOTPCREL(%rip), %rbx
	je	LBB0_27
## %bb.5:
	cmpq	_sensor_dev_attr_temp1_crit@GOTPCREL(%rip), %rbx
	je	LBB0_27
## %bb.6:
	cmpq	_sensor_dev_attr_temp1_crit_hyst@GOTPCREL(%rip), %rbx
	je	LBB0_27
LBB0_7:
	cmpq	$0, 16(%rcx)
	je	LBB0_13
## %bb.8:
	xorl	%eax, %eax
	cmpq	_sensor_dev_attr_pwm1_min@GOTPCREL(%rip), %rbx
	je	LBB0_27
## %bb.9:
	cmpq	_sensor_dev_attr_pwm1_max@GOTPCREL(%rip), %rbx
	je	LBB0_27
## %bb.10:
	cmpq	_sensor_dev_attr_pwm1@GOTPCREL(%rip), %rbx
	je	LBB0_27
## %bb.11:
	cmpq	_sensor_dev_attr_pwm1_enable@GOTPCREL(%rip), %rbx
	je	LBB0_27
## %bb.12:
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx)
	sete	%r8b
	xorl	%esi, %esi
	jmp	LBB0_15
LBB0_13:
	movq	(%rcx), %rcx
	movl	(%rcx), %edi
	testl	%edi, %edi
	sete	%r8b
	cmpq	_sensor_dev_attr_pwm1@GOTPCREL(%rip), %rbx
	sete	%sil
	jne	LBB0_15
## %bb.14:
	movb	$1, %al
	movb	$1, %dl
	testl	%edi, %edi
	je	LBB0_17
LBB0_15:
	cmpq	_sensor_dev_attr_pwm1_enable@GOTPCREL(%rip), %rbx
	jne	LBB0_18
## %bb.16:
	cmpl	$0, 12(%rcx)
	movl	%esi, %eax
	movl	%r8d, %edx
	jne	LBB0_18
LBB0_17:
	movq	_S_IRUGO@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	notl	%esi
	andl	%esi, %r9d
	movl	%eax, %esi
	movl	%edx, %r8d
LBB0_18:
	movl	4(%rcx), %edi
	testb	%sil, %sil
	je	LBB0_20
## %bb.19:
	testl	%edi, %edi
	je	LBB0_22
LBB0_20:
	cmpq	_sensor_dev_attr_pwm1_enable@GOTPCREL(%rip), %rbx
	jne	LBB0_23
## %bb.21:
	cmpl	$0, 8(%rcx)
	jne	LBB0_23
LBB0_22:
	movq	_S_IWUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r9d
LBB0_23:
	testl	%edi, %edi
	sete	%al
	andb	%r8b, %al
	cmpb	$1, %al
	jne	LBB0_26
## %bb.24:
	xorl	%eax, %eax
	cmpq	_sensor_dev_attr_pwm1_max@GOTPCREL(%rip), %rbx
	je	LBB0_27
## %bb.25:
	cmpq	_sensor_dev_attr_pwm1_min@GOTPCREL(%rip), %rbx
	je	LBB0_27
LBB0_26:
	movl	%r9d, %eax
LBB0_27:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PM_METHOD_DPM,8,3              ## @PM_METHOD_DPM
	.comm	_sensor_dev_attr_temp1_crit,4,2 ## @sensor_dev_attr_temp1_crit
	.comm	_sensor_dev_attr_temp1_crit_hyst,4,2 ## @sensor_dev_attr_temp1_crit_hyst
	.comm	_sensor_dev_attr_pwm1,4,2       ## @sensor_dev_attr_pwm1
	.comm	_sensor_dev_attr_pwm1_enable,4,2 ## @sensor_dev_attr_pwm1_enable
	.comm	_sensor_dev_attr_pwm1_max,4,2   ## @sensor_dev_attr_pwm1_max
	.comm	_sensor_dev_attr_pwm1_min,4,2   ## @sensor_dev_attr_pwm1_min
	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.no_dead_strip	_hwmon_attributes_visible
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwmon_attributes_visible
_hwmon_attributes_visible:              ; @hwmon_attributes_visible
	.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, x1
	bl	_kobj_to_dev
	bl	_dev_get_drvdata
	ldr	w8, [x19]
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _PM_METHOD_DPM@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PM_METHOD_DPM@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _sensor_dev_attr_pwm1_min@GOTPAGE
Lloh4:
	ldr	x9, [x9, _sensor_dev_attr_pwm1_min@GOTPAGEOFF]
	cmp	x19, x9
Lloh5:
	adrp	x9, _sensor_dev_attr_pwm1_max@GOTPAGE
Lloh6:
	ldr	x9, [x9, _sensor_dev_attr_pwm1_max@GOTPAGEOFF]
	ccmp	x19, x9, #4, ne
Lloh7:
	adrp	x9, _sensor_dev_attr_pwm1_enable@GOTPAGE
Lloh8:
	ldr	x9, [x9, _sensor_dev_attr_pwm1_enable@GOTPAGEOFF]
	ccmp	x19, x9, #4, ne
Lloh9:
	adrp	x9, _sensor_dev_attr_pwm1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _sensor_dev_attr_pwm1@GOTPAGEOFF]
	ccmp	x19, x9, #4, ne
Lloh11:
	adrp	x9, _sensor_dev_attr_temp1_crit@GOTPAGE
Lloh12:
	ldr	x9, [x9, _sensor_dev_attr_temp1_crit@GOTPAGEOFF]
	ccmp	x19, x9, #4, ne
Lloh13:
	adrp	x9, _sensor_dev_attr_temp1_crit_hyst@GOTPAGE
Lloh14:
	ldr	x9, [x9, _sensor_dev_attr_temp1_crit_hyst@GOTPAGEOFF]
	ccmp	x19, x9, #4, ne
	b.eq	LBB0_5
LBB0_2:
	ldr	x9, [x0, #16]
	cbz	x9, LBB0_6
; %bb.3:
Lloh15:
	adrp	x9, _sensor_dev_attr_pwm1_min@GOTPAGE
Lloh16:
	ldr	x9, [x9, _sensor_dev_attr_pwm1_min@GOTPAGEOFF]
	cmp	x19, x9
Lloh17:
	adrp	x9, _sensor_dev_attr_pwm1_max@GOTPAGE
Lloh18:
	ldr	x9, [x9, _sensor_dev_attr_pwm1_max@GOTPAGEOFF]
	ccmp	x19, x9, #4, ne
Lloh19:
	adrp	x9, _sensor_dev_attr_pwm1@GOTPAGE
Lloh20:
	ldr	x9, [x9, _sensor_dev_attr_pwm1@GOTPAGEOFF]
	ccmp	x19, x9, #4, ne
Lloh21:
	adrp	x9, _sensor_dev_attr_pwm1_enable@GOTPAGE
Lloh22:
	ldr	x9, [x9, _sensor_dev_attr_pwm1_enable@GOTPAGEOFF]
	ccmp	x19, x9, #4, ne
	b.eq	LBB0_5
; %bb.4:
	mov	w11, #0
	ldr	x10, [x0]
	ldr	w9, [x10]
	cmp	w9, #0
	cset	w9, eq
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_18
LBB0_6:
	ldr	x10, [x0]
	ldr	w12, [x10]
	cmp	w12, #0
	cset	w9, eq
Lloh23:
	adrp	x11, _sensor_dev_attr_pwm1@GOTPAGE
Lloh24:
	ldr	x11, [x11, _sensor_dev_attr_pwm1@GOTPAGEOFF]
	cmp	x19, x11
	cset	w11, eq
	ccmp	w12, #0, #0, eq
	b.eq	LBB0_8
LBB0_7:
	ldr	w12, [x10, #12]
Lloh25:
	adrp	x13, _sensor_dev_attr_pwm1_enable@GOTPAGE
Lloh26:
	ldr	x13, [x13, _sensor_dev_attr_pwm1_enable@GOTPAGEOFF]
	cmp	x19, x13
	ccmp	w12, #0, #0, eq
	b.eq	LBB0_9
	b	LBB0_10
LBB0_8:
	mov	w11, #1
	mov	w9, #1
LBB0_9:
Lloh27:
	adrp	x12, _S_IRUGO@GOTPAGE
Lloh28:
	ldr	x12, [x12, _S_IRUGO@GOTPAGEOFF]
Lloh29:
	ldr	w12, [x12]
	bic	w8, w8, w12
LBB0_10:
	ldr	w12, [x10, #4]
	cmp	w11, #0
	ccmp	w12, #0, #0, ne
	b.eq	LBB0_13
; %bb.11:
Lloh30:
	adrp	x11, _sensor_dev_attr_pwm1_enable@GOTPAGE
Lloh31:
	ldr	x11, [x11, _sensor_dev_attr_pwm1_enable@GOTPAGEOFF]
	cmp	x19, x11
	b.ne	LBB0_14
; %bb.12:
	ldr	w10, [x10, #8]
	cbnz	w10, LBB0_14
LBB0_13:
Lloh32:
	adrp	x10, _S_IWUSR@GOTPAGE
Lloh33:
	ldr	x10, [x10, _S_IWUSR@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	bic	w8, w8, w10
LBB0_14:
	cmp	w12, #0
	cset	w10, eq
	and	w9, w10, w9
	cmp	w9, #1
	b.ne	LBB0_17
; %bb.15:
	mov	w0, #0
Lloh35:
	adrp	x9, _sensor_dev_attr_pwm1_max@GOTPAGE
Lloh36:
	ldr	x9, [x9, _sensor_dev_attr_pwm1_max@GOTPAGEOFF]
	cmp	x19, x9
	b.eq	LBB0_18
; %bb.16:
Lloh37:
	adrp	x9, _sensor_dev_attr_pwm1_min@GOTPAGE
Lloh38:
	ldr	x9, [x9, _sensor_dev_attr_pwm1_min@GOTPAGEOFF]
	cmp	x19, x9
	b.eq	LBB0_18
LBB0_17:
	mov	x0, x8
LBB0_18:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_PM_METHOD_DPM,8,3              ; @PM_METHOD_DPM
	.comm	_sensor_dev_attr_temp1_crit,4,2 ; @sensor_dev_attr_temp1_crit
	.comm	_sensor_dev_attr_temp1_crit_hyst,4,2 ; @sensor_dev_attr_temp1_crit_hyst
	.comm	_sensor_dev_attr_pwm1,4,2       ; @sensor_dev_attr_pwm1
	.comm	_sensor_dev_attr_pwm1_enable,4,2 ; @sensor_dev_attr_pwm1_enable
	.comm	_sensor_dev_attr_pwm1_max,4,2   ; @sensor_dev_attr_pwm1_max
	.comm	_sensor_dev_attr_pwm1_min,4,2   ; @sensor_dev_attr_pwm1_min
	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.no_dead_strip	_hwmon_attributes_visible
.subsections_via_symbols
