	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function irda_nl_get_mode
_irda_nl_get_mode:                      ## @irda_nl_get_mode
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	_ifname_to_netdev
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r14
	movq	_NLMSG_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r12
	movq	8(%r14), %r13
	testq	%r13, %r13
	je	LBB0_10
## %bb.3:
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	_IRDA_NL_CMD_GET_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_irda_nl_family@GOTPCREL(%rip), %rcx
	movq	%r12, %rdi
	xorl	%r8d, %r8d
	callq	_genlmsg_put
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_IRDA_NL_ATTR_IFNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r12, %rdi
	callq	_nla_put_string
	testq	%rax, %rax
	jne	LBB0_13
## %bb.5:
	movq	_IRDA_NL_ATTR_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r12, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_13
## %bb.6:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_genlmsg_end
	movq	%r12, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genlmsg_reply                  ## TAILCALL
LBB0_7:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	callq	_dev_put
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_10:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %ebx
LBB0_13:
	negl	%ebx
	movq	%r12, %rdi
	callq	_nlmsg_free
	movq	%r14, %rdi
	callq	_dev_put
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_init_net,4,2                   ## @init_net
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ## @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_irda_nl_family,4,2             ## @irda_nl_family
	.comm	_IRDA_NL_CMD_GET_MODE,4,2       ## @IRDA_NL_CMD_GET_MODE
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_IRDA_NL_ATTR_IFNAME,4,2        ## @IRDA_NL_ATTR_IFNAME
	.comm	_IRDA_NL_ATTR_MODE,4,2          ## @IRDA_NL_ATTR_MODE
	.no_dead_strip	_irda_nl_get_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function irda_nl_get_mode
_irda_nl_get_mode:                      ; @irda_nl_get_mode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
Lloh0:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x0, _init_net@GOTPAGE
Lloh4:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	_ifname_to_netdev
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_8
; %bb.2:
	mov	x21, x0
	ldr	x24, [x19, #8]
	cbz	x24, LBB0_10
; %bb.3:
	ldp	w2, w1, [x20]
Lloh11:
	adrp	x8, _IRDA_NL_CMD_GET_MODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRDA_NL_CMD_GET_MODE@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
Lloh14:
	adrp	x3, _irda_nl_family@GOTPAGE
Lloh15:
	ldr	x3, [x3, _irda_nl_family@GOTPAGEOFF]
	mov	x0, x21
	mov	w4, #0
	bl	_genlmsg_put
	cbz	x0, LBB0_11
; %bb.4:
	mov	x22, x0
Lloh16:
	adrp	x8, _IRDA_NL_ATTR_IFNAME@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRDA_NL_ATTR_IFNAME@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x21
	bl	_nla_put_string
	cbnz	x0, LBB0_13
; %bb.5:
Lloh19:
	adrp	x8, _IRDA_NL_ATTR_MODE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRDA_NL_ATTR_MODE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x24]
	mov	x0, x21
	bl	_nla_put_u32
	cbnz	x0, LBB0_13
; %bb.6:
	mov	x0, x21
	mov	x1, x22
	bl	_genlmsg_end
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_genlmsg_reply
LBB0_7:
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_dev_put
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_14
LBB0_10:
Lloh26:
	adrp	x8, _ENODEV@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh28:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
LBB0_12:
	ldr	w23, [x8]
LBB0_13:
	neg	w20, w23
	mov	x0, x21
	bl	_nlmsg_free
	mov	x0, x19
	bl	_dev_put
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_init_net,4,2                   ; @init_net
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ; @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_irda_nl_family,4,2             ; @irda_nl_family
	.comm	_IRDA_NL_CMD_GET_MODE,4,2       ; @IRDA_NL_CMD_GET_MODE
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_IRDA_NL_ATTR_IFNAME,4,2        ; @IRDA_NL_ATTR_IFNAME
	.comm	_IRDA_NL_ATTR_MODE,4,2          ; @IRDA_NL_ATTR_MODE
	.no_dead_strip	_irda_nl_get_mode
.subsections_via_symbols
